dedsudiyu 2 anos atrás
pai
commit
7ff41bef29
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/comprehensive/system/role/addPage.vue

+ 1 - 1
src/views/comprehensive/system/role/addPage.vue

@@ -372,7 +372,7 @@ export default {
           this.$set(this.form,'dataScope',this.propsData.dataScope);
           this.$set(this,'checkDeptType',this.propsData.dataScope)
           //如果权限范围为指定部门
-          if (this.propsData.dataScope == 2){
+          if (this.propsData.dataScope == 5){
             this.$set(this.deptForm,'deptIds',JSON.parse(this.propsData.viewDeptIds));
           }
         }