fix: 新建采集数据源已存在判断
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -560,7 +560,7 @@ const dialogBtnClick = (btn, info) => { | ... | @@ -560,7 +560,7 @@ const dialogBtnClick = (btn, info) => { |
| 560 | }).then((res: any) => { | 560 | }).then((res: any) => { |
| 561 | dialogInfo.value.footer.btns[1].loading = false; | 561 | dialogInfo.value.footer.btns[1].loading = false; |
| 562 | if (res.code == proxy.$passCode) { | 562 | if (res.code == proxy.$passCode) { |
| 563 | if (!res.data) { | 563 | if (res.data) { |
| 564 | proxy.$openMessageBox('该数据源在导入数据源中已存在,确定覆盖吗?', () => { | 564 | proxy.$openMessageBox('该数据源在导入数据源中已存在,确定覆盖吗?', () => { |
| 565 | addTask(); | 565 | addTask(); |
| 566 | }, () => { | 566 | }, () => { | ... | ... |
-
Please register or sign in to post a comment