Forráskód Böngészése

fix(系统模块): 菜单保存优化

shizhongming 2 éve
szülő
commit
6d50838eb6

+ 2 - 2
src/modules/smart-system/views/role/components/RoleSetFunction.vue

@@ -141,8 +141,8 @@
         url: 'sys/role/saveRoleMenu',
         data: {
           roleId: props.roleId,
-          functionIdList: tree.getCheckedKeys(),
-          halfFunctionIdList: tree.halfCheckedKeys,
+          functionIdList: tree.getAntInstance().checkedKeys,
+          halfFunctionIdList: tree.getAntInstance().halfCheckedKeys,
         },
       });
       successMessage('保存成功');