luojun 2 жил өмнө
parent
commit
81f7f1574b

+ 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