update 首页点击跳转优化
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user