From f057f07ce7532ca182bd907b7cab4357c2081684 Mon Sep 17 00:00:00 2001 From: yangchunlong <292345300@qq.com> Date: Tue, 14 Oct 2025 17:46:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=9A=80=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/auto-import.d.ts | 1 - src/views/foundation/set/material/init/btnClick.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/auto-import.d.ts b/src/auto-import.d.ts index a259c49..5a0d57f 100644 --- a/src/auto-import.d.ts +++ b/src/auto-import.d.ts @@ -6,7 +6,6 @@ export {} declare global { const EffectScope: typeof import("vue")["EffectScope"]; - const ElMessage: typeof import("element-plus/es")["ElMessage"]; const ElMessageBox: typeof import("element-plus/es")["ElMessageBox"]; const computed: typeof import("vue")["computed"]; const createApp: typeof import("vue")["createApp"]; diff --git a/src/views/foundation/set/material/init/btnClick.ts b/src/views/foundation/set/material/init/btnClick.ts index bbd1a82..83f2e10 100644 --- a/src/views/foundation/set/material/init/btnClick.ts +++ b/src/views/foundation/set/material/init/btnClick.ts @@ -25,7 +25,7 @@ export const handleReload = async (params: any) => { const result = await getMaterialListReloadApi({ id }); if (result?.code === 0) { useMsg("success", "数据刷新成功 !"); - proTable.value!.getTableList(); + proTable?.value!.getTableList(); } };