luojun hace 2 años
padre
commit
81f7f1574b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/system/dept/dialog.edit.vue

+ 1 - 1
src/views/system/dept/dialog.edit.vue

@@ -465,7 +465,7 @@ export default {
 
     onSubmit() {
       this.$refs.form.validate(async (isValidate) => {
-        this.form.isLock = this.form.isLock ? 1 : 0;
+        this.form.isLock = this.form.isLock ? 0 : 1;
         this.form.cashAddingRoomRemoteControl = this.form
           .cashAddingRoomRemoteControl
           ? 1