v3.5.0 修复关闭confirm提示框控制台报错问题

This commit is contained in:
YunaiV
2022-02-15 21:51:24 +08:00
parent c06a96b768
commit e3c31c353a
36 changed files with 55 additions and 57 deletions

View File

@ -218,8 +218,7 @@ export default {
'提示',
{
type: 'warning'
}
)
}).catch(() => {});
return
}
if (astBody[0].type === 'ExportDefaultDeclaration') {

View File

@ -381,8 +381,7 @@ export default {
() => {
this.drawingList = []
this.idGlobal = 100
}
)
}).catch(() => {});
},
drawingItemCopy(item, list) {
let clone = deepClone(item)

View File

@ -213,7 +213,7 @@ export default {
return syncCodegenFromDB(row.id);
}).then(() => {
this.msgSuccess("同步成功");
})
}).catch(() => {});
},
/** 打开导入表弹窗 */
openImportTable() {
@ -335,7 +335,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
// 取消按钮
cancel() {

View File

@ -243,7 +243,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -263,7 +263,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '字典类型.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};