From 9ebb258361858fda4bc5b0f424f6011882abd382 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sun, 17 Sep 2023 17:06:20 +0800
Subject: [PATCH] 角色权限配置bug 修复

---
 src/views/authority/role.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/authority/role.vue b/src/views/authority/role.vue
index 6a79c62..dda2893 100644
--- a/src/views/authority/role.vue
+++ b/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",

--
Gitblit v1.9.3