!13 update _web/src/views/system/role/roleMenuForm.vue.
Merge pull request !13 from zuohuaijun/N/A
This commit is contained in:
commit
9b4c5b7b1a
@ -19,7 +19,6 @@
|
|||||||
v-model="checkedKeys"
|
v-model="checkedKeys"
|
||||||
multiple
|
multiple
|
||||||
checkable
|
checkable
|
||||||
checkStrictly
|
|
||||||
:auto-expand-parent="autoExpandParent"
|
:auto-expand-parent="autoExpandParent"
|
||||||
:expanded-keys="expandedKeys"
|
:expanded-keys="expandedKeys"
|
||||||
:tree-data="menuTreeData"
|
:tree-data="menuTreeData"
|
||||||
@ -125,7 +124,7 @@
|
|||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
validateFields((errors, values) => {
|
validateFields((errors, values) => {
|
||||||
if (!errors) {
|
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) {
|
if (res.success) {
|
||||||
this.$message.success('授权成功')
|
this.$message.success('授权成功')
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user