Parcourir la source

用户启用修改默认9.28

caojunjie il y a 1 an
Parent
commit
3b29f69088
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/views/system/user.vue

+ 3 - 0
src/views/system/user.vue

@@ -904,6 +904,9 @@
         row.deptId = row.deptId.join(",");
         row.roleId = row.roleId.join(",");
         row.postId = row.postId.join(",");
+        if (!row.workingStatus) {
+            row.workingStatus = '0'
+        }
         update(row).then(() => {
           this.initFlag = false;
           this.onLoad(this.page);