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', '温馨提示'),