mirror of https://gitee.com/xiaonuobase/snowy
!13 update _web/src/views/system/role/roleMenuForm.vue.
Merge pull request !13 from zuohuaijun/N/Apull/22/head
commit
9b4c5b7b1a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue