Selaa lähdekoodia

feat:修复页面权限问题

liu.shiyi 1 vuosi sitten
vanhempi
sitoutus
10ed92ffbc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      data-room-ui/packages/BigScreenDesign/index.vue

+ 1 - 1
data-room-ui/packages/BigScreenDesign/index.vue

@@ -272,7 +272,7 @@ export default {
     // 判断页面权限
     permission () {
       get(`/bigScreen/permission/check/${this.$route.query.code}`).then(res => {
-        this.hasPermission = !res
+        this.hasPermission = res
         if (res) {
           this.init()
         }