update 首页点击跳转优化

This commit is contained in:
2026-01-30 17:15:37 +08:00
parent 770646bd0a
commit b2050d6375

View File

@@ -92,9 +92,9 @@ watchEffect(() => {
const router = useRouter();
const handleClick = (item: any) => {
// if(['todayTmrTasks', 'inProgress', 'postponed'].includes(item.key)) {
// localStorage.setItem('SPDM_JUMP_TASK_TYPE', item.key);
// }
if (['todayTmrTasks', 'inProgress', 'postponed'].includes(item.key)) {
localStorage.setItem('home_taskParams', item.key);
}
router.push(item.path);
};
</script>