Эх сурвалжийг харах

Merge remote-tracking branch 'origin/master'

shiqian 4 жил өмнө
parent
commit
27b882651c

+ 2 - 3
ruoyi-ui/src/views/system/role/index.vue

@@ -532,9 +532,8 @@ export default {
     },
     /** 分配数据权限操作 */
     handleDataScope(row) {
-      this.reset();
-      const roleDeptTreeselect = this.getRoleDeptTreeselect(row.roleId);
-      getRole(row.roleId).then(response => {
+      const roleDeptTreeselect = this.getRoleDeptTreeselect(row.id);
+      getRole(row.id).then(response => {
         this.form = response.data;
         this.openDataScope = true;
         this.$nextTick(() => {