mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-13 15:43:43 +08:00
fix 修复 代码生成同步点击取消报错问题
This commit is contained in:
parent
adadfcf8cb
commit
e07c0b2b3a
@ -202,7 +202,7 @@ const handleGenTable = async (row?: TableVO) => {
|
||||
/** 同步数据库操作 */
|
||||
const handleSynchDb = async (row: TableVO) => {
|
||||
const tableId = row.tableId;
|
||||
await proxy?.$modal.confirm('确认要强制同步"' + row.tableName + '"表结构吗?');
|
||||
await proxy?.$modal.confirm('确认要强制同步"' + row.tableName + '"表结构吗?').catch(() => {});
|
||||
await synchDb(tableId);
|
||||
proxy?.$modal.msgSuccess('同步成功');
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user