From 4a209eb5feb4a109f0b0affc82f3ea766098e9fe Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 18 Dec 2024 12:17:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=8E=A5=E5=8F=A3=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=8D=A1=E7=89=87=E8=B7=B3=E8=BD=ACbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../management/components/management/api/apiTable.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/api-test/management/components/management/api/apiTable.vue b/frontend/src/views/api-test/management/components/management/api/apiTable.vue index 2768bc89c7..489a57af78 100644 --- a/frontend/src/views/api-test/management/components/management/api/apiTable.vue +++ b/frontend/src/views/api-test/management/components/management/api/apiTable.vue @@ -794,13 +794,13 @@ } if (props.selectedProtocols.length > 0 || route.query.home) { - loadApiList(true); + loadApiList(!route.query.home); } } const isActivated = computed(() => cacheStore.cacheViews.includes(CacheTabTypeEnum.API_TEST_API_TABLE)); - onBeforeMount(() => { + onMounted(() => { cacheStore.clearCache(); if (!isActivated.value) { onMountedLoad();