From 9836d6d9bde266c1e79333d505e1f218567e7ffe Mon Sep 17 00:00:00 2001 From: 月夜 <768242801@qq.com> Date: 星期一, 11 十一月 2024 15:10:24 +0800 Subject: [PATCH] 优化:字典缓存使用Map代替Array,更高效 --- src/views/tool/gen/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue index 1b7cd55..2618a20 100644 --- a/src/views/tool/gen/index.vue +++ b/src/views/tool/gen/index.vue @@ -202,7 +202,7 @@ /** 鍚屾鏁版嵁搴撴搷浣� */ const handleSynchDb = async (row: TableVO) => { const tableId = row.tableId; - await proxy?.$modal.confirm('纭瑕佸己鍒跺悓姝�"' + row.tableName + '"琛ㄧ粨鏋勫悧锛�').catch(() => {}); + await proxy?.$modal.confirm('纭瑕佸己鍒跺悓姝�"' + row.tableName + '"琛ㄧ粨鏋勫悧锛�'); await synchDb(tableId); proxy?.$modal.msgSuccess('鍚屾鎴愬姛'); }; -- Gitblit v1.9.3