tangning před 2 roky
rodič
revize
2d414efe5c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/empower/AddInstallModal.vue

+ 1 - 1
src/views/empower/AddInstallModal.vue

@@ -109,7 +109,7 @@
         const { id, machineCode } = await validate();
         let res = await checkMachineCode({ machineCode });
         console.log('res', res);
-        if (res && !res.id) {
+        if (res && res.id) {
           createConfirm({
             iconType: 'warning',
             title: () => h('span', '温馨提示'),