update bug修复

This commit is contained in:
2026-02-05 16:38:01 +08:00
parent 33d39f8416
commit 56741074d3

View File

@@ -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();
}
});
</script>