tangning 2 年之前
父節點
當前提交
2d414efe5c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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', '温馨提示'),