fix(app): 修改侧边栏路由跳转方式为 push()

This commit is contained in:
2024-09-06 20:40:32 +08:00
parent c7a10c7e98
commit 9ad6d3bb9d

View File

@@ -52,7 +52,7 @@ const router = useRouter();
/** 切换页面 */
function changePage(routeName = '') {
router.replace({ name: routeName });
router.push({ name: routeName });
}
/** 初始化数据 */