瀏覽代碼

Merge remote-tracking branch 'origin/master'

shiqian 4 年之前
父節點
當前提交
27b882651c
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      ruoyi-ui/src/views/system/role/index.vue

+ 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(() => {