保安服务企业管理项目备份
zhongrj
2023-09-17 9ebb258361858fda4bc5b0f424f6011882abd382
角色权限配置bug 修复
1 files modified
6 ■■■■ changed files
src/views/authority/role.vue 6 ●●●● patch | view | raw | blame | history
src/views/authority/role.vue
@@ -271,9 +271,9 @@
    },
    submit() {
      const menuList = this.$refs.treeMenu.getCheckedKeys();
      const dataScopeList = this.$refs.treeDataScope.getCheckedKeys();
      const apiScopeList = this.$refs.treeApiScope.getCheckedKeys();
      grant(this.idsArray, menuList, dataScopeList, apiScopeList).then(() => {
      // const dataScopeList = this.$refs.treeDataScope.getCheckedKeys();
      // const apiScopeList = this.$refs.treeApiScope.getCheckedKeys();
      grant(this.idsArray, menuList, [], []).then(() => {
        this.box = false;
        this.$message({
          type: "success",