From 8be677d6ac925882c9aa741cbc5f0ed6633653f8 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Wed, 22 Jan 2025 10:26:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E8=A1=A8=E5=8D=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DesignForm/tableListPage/index.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/DesignForm/tableListPage/index.vue b/src/components/DesignForm/tableListPage/index.vue index 131156d..0f10121 100644 --- a/src/components/DesignForm/tableListPage/index.vue +++ b/src/components/DesignForm/tableListPage/index.vue @@ -308,12 +308,12 @@ function closeQrDownload(){ } -const asfs: any[] = []; -const radios: any[] = []; -const checkboxs: any[] = []; -const switchs: any[] = []; -const selects: any[] = []; -const tables: any[] = []; +let asfs: any[] = []; +let radios: any[] = []; +let checkboxs: any[] = []; +let switchs: any[] = []; +let selects: any[] = []; +let tables: any[] = []; function getAsfs() { //setTimeout(() => { let dataList = ref({}); @@ -864,6 +864,12 @@ const getPageData = () => { }) .finally(() => { state.loading = false; + asfs = []; + radios = []; + checkboxs = []; + switchs = []; + selects = []; + tables = []; getAsfs() }); }