Browse Source

修复门禁无法打开问题

wangtao 2 weeks ago
parent
commit
264b444cfe
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/store/modules/control.js

+ 0 - 6
src/store/modules/control.js

@@ -257,12 +257,6 @@ const controlStore = defineStore("control", {
          */
         openDoor(event) {
             var that = this
-
-            if (!this.form.doorList.name) {
-                modal.msg("请先绑定门禁!");
-                return;
-            }
-
             if (this.isClicked) {
                 modal.msg("请勿重复点击!");
                 return;