weiximei 6 gadus atpakaļ
vecāks
revīzija
a9db9e20a5

+ 3
- 1
VUECODE/smart-operate-manage/src/views/account/role/edi/index.vue Parādīt failu

@@ -60,7 +60,7 @@ export default {
60 60
   },
61 61
   mounted() {
62 62
     this.ruleForm.id = this.$route.params.id
63
-    this.getMenuList()
63
+    // 获取用户数据
64 64
     this.getInfo()
65 65
   },
66 66
   methods: {
@@ -126,6 +126,8 @@ export default {
126 126
         for (const i in resMenu) {
127 127
           this.ruleForm.menuArray.push(resMenu[i].menuId)
128 128
         }
129
+
130
+        this.getMenuList()
129 131
       }).catch(() => {
130 132
         console.log('error GetInfo')
131 133
       })

+ 3
- 1
VUECODE/smart-operate-manage/src/views/account/role/info/index.vue Parādīt failu

@@ -60,7 +60,7 @@ export default {
60 60
   },
61 61
   mounted() {
62 62
     this.ruleForm.id = this.$route.params.id
63
-    this.getMenuList()
63
+    // 获取用户数据
64 64
     this.getInfo()
65 65
   },
66 66
   methods: {
@@ -93,6 +93,8 @@ export default {
93 93
         for (const i in resMenu) {
94 94
           this.ruleForm.menuArray.push(resMenu[i].menuId)
95 95
         }
96
+
97
+        this.getMenuList()
96 98
       }).catch(() => {
97 99
         console.log('error GetInfo')
98 100
       })

+ 0
- 1
VUECODE/smart-operate-manage/src/views/banner/infoBanner/index.vue Parādīt failu

@@ -301,6 +301,5 @@ export default {
301 301
   height: 178px;
302 302
   display: block;
303 303
 }
304
-
305 304
 </style>
306 305