🚧 update sidebar

This commit is contained in:
2024-12-06 00:16:23 +08:00
parent 2a1bb215ac
commit dbdfd835bd
54 changed files with 1544 additions and 1525 deletions

View File

@@ -2,7 +2,7 @@ import RecyclingBin from "@/views/RecyclingBin/RecyclingBin.vue";
export default [
{
path: '/main/recycling',
path: '/main/photo/recycling',
name: 'recycling',
component: RecyclingBin,
meta: {

View File

@@ -36,7 +36,7 @@ router.beforeEach((to, _from, next) => {
if (to.path === '/login' || to.path === '/qrlogin' || to.path === '/resetpass') {
if (isLoggedIn) {
// 如果用户已登录,重定向到主页或其他页面
next({path: '/main'});
next({path: '/main/photo/all'});
} else {
next();
}