!13 update _web/src/views/system/role/roleMenuForm.vue.

Merge pull request !13 from zuohuaijun/N/A
pull/22/head
小诺 2021-03-30 20:19:01 +08:00 committed by Gitee
commit 9b4c5b7b1a
1 changed files with 2 additions and 3 deletions

View File

@ -18,8 +18,7 @@
<a-tree
v-model="checkedKeys"
multiple
checkable
checkStrictly
checkable
:auto-expand-parent="autoExpandParent"
:expanded-keys="expandedKeys"
:tree-data="menuTreeData"
@ -125,7 +124,7 @@
this.confirmLoading = true
validateFields((errors, values) => {
if (!errors) {
sysRoleGrantMenu({ id: this.roleEntity.id, grantMenuIdList: this.checkedKeys.checked }).then((res) => {
sysRoleGrantMenu({ id: this.roleEntity.id, grantMenuIdList: this.checkedKeys }).then((res) => {
if (res.success) {
this.$message.success('授权成功')
this.confirmLoading = false