update bug修复
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user