瀏覽代碼

bug 修复

lilei 4 年之前
父節點
當前提交
bbd298437d

+ 1 - 0
src/views/SupervisionAuth/role/menuModal.vue

@@ -101,6 +101,7 @@ export default {
       this.roleName = ''
       this.roleName = ''
       this.id = ''
       this.id = ''
       this.checkedKeys = []
       this.checkedKeys = []
+      this.expandedKeys = []
     },
     },
     // 查找叶子节点
     // 查找叶子节点
     findLeaf (data, arr) {
     findLeaf (data, arr) {

+ 1 - 0
src/views/power/role/menuModal.vue

@@ -100,6 +100,7 @@ export default {
       this.roleName = ''
       this.roleName = ''
       this.id = ''
       this.id = ''
       this.checkedKeys = []
       this.checkedKeys = []
+      this.expandedKeys = []
     },
     },
     // 查找叶子节点
     // 查找叶子节点
     findLeaf (data, arr) {
     findLeaf (data, arr) {

+ 0 - 1
src/views/power/role/roleList.vue

@@ -189,7 +189,6 @@ export default {
       getMenuList({ id: id }).then(res => {
       getMenuList({ id: id }).then(res => {
         if (res.status == 200) {
         if (res.status == 200) {
           _this.menuData = res.data
           _this.menuData = res.data
-          console.log(_this.menuData)
           this.showMenuModal = true
           this.showMenuModal = true
         }
         }
       })
       })