刘恒 1 год назад
Родитель
Сommit
2e78ac9f70
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      src/pages/sys/permissionsAuth.vue

+ 4 - 1
src/pages/sys/permissionsAuth.vue

@@ -428,10 +428,13 @@ export default {
       //   this.visible = false;
       // this.confirmLoading = true;
       //   console.log(this.dataForm, this.checkList);
+      console.log(this.checkList)
+      console.log(this.$refs.tree)
+      
       this.$API.sysManage
         .UserSetDeptAuth({
           userId: this.dataForm.id,
-          deptIds: this.checkList,
+          deptIds:this.$refs.tree.checkList ,
         })
         .then((res) => {
           if (res.data.code === 200) {