Selaa lähdekoodia

用户启用修改默认9.28

caojunjie 1 vuosi sitten
vanhempi
commit
3b29f69088
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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);