From 56741074d3fc65aca27942fefd11a9c1658f5d72 Mon Sep 17 00:00:00 2001 From: dongzhihuan Date: Thu, 5 Feb 2026 16:38:01 +0800 Subject: [PATCH] =?UTF-8?q?update=20bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/task/simulationTask/components/taskTable.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/task/simulationTask/components/taskTable.vue b/src/views/task/simulationTask/components/taskTable.vue index 648fc00f..2b0514a4 100644 --- a/src/views/task/simulationTask/components/taskTable.vue +++ b/src/views/task/simulationTask/components/taskTable.vue @@ -506,7 +506,6 @@ const gettParams = () => { filterTaskFun(paramsObj); } } - localStorage.removeItem('HOME_TASK_PARAMS'); }; emitter.on('SPDM_ROUTER_CHANGE', (data: any) => { if (data.path === '/spdm/task/execute') { @@ -520,7 +519,9 @@ onMounted(() => { if (!props.hideSpecialSearch) { initTaskCount(); } - gettParams(); + if (window.location.pathname === '/spdm/task/execute') { + gettParams(); + } });