代码更新

This commit is contained in:
ludj
2022-12-02 17:16:27 +08:00
parent 06cd3b453c
commit 1840ceec58
10 changed files with 76 additions and 217 deletions

View File

@@ -102,13 +102,6 @@
</el-button>
</div>
<el-cascader
:options="options"
:props="{ checkStrictly: true }"
clearable
@change="getMenusByRole"
/>
<el-tree
ref="menu"
lazy
@@ -152,7 +145,6 @@ export default {
defaultProps: { children: 'children', label: 'title', isLeaf: 'leaf' },
currentId: 0, menuLoading: false, showButton: false,
menus: [], menuIds: [], // 多选时使用
options: [],
permission: {
add: ['admin', 'roles:add'],
edit: ['admin', 'roles:edit'],
@@ -169,9 +161,6 @@ export default {
}
},
created() {
crudMenu.getSelectList().then(res => {
this.options = res
})
},
methods: {
getMenuDatas(node, resolve) {