This commit is contained in:
sjl
2025-01-15 20:23:05 +08:00
parent c2b63a7a3f
commit d02f85cea5
7 changed files with 92 additions and 54 deletions

View File

@@ -67,12 +67,13 @@ const handelOpen = async (item: string) => {
await authStore.setShowMenu();
modeStore.setCurrentMode(item); // 将模式code存入 store
if (router.currentRoute.value.path === '/home/index') {
//if (router.currentRoute.value.path === '/home/index') {
// 强制刷新页面
window.location.reload();
} else {
router.push({ path: '/home/index' });
}
//} else {
// router.push({ path: '/home/index' });
//}
};
</script>