a307665f by lihua

fix: 新建采集数据源已存在判断

1 parent 5e38e5bf
......@@ -560,7 +560,7 @@ const dialogBtnClick = (btn, info) => {
}).then((res: any) => {
dialogInfo.value.footer.btns[1].loading = false;
if (res.code == proxy.$passCode) {
if (!res.data) {
if (res.data) {
proxy.$openMessageBox('该数据源在导入数据源中已存在,确定覆盖吗?', () => {
addTask();
}, () => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!