refactor: ♻️ 我的通知路由路径规范调整

This commit is contained in:
Ray.Hao
2025-04-03 13:57:16 +08:00
parent bafff3cbdd
commit 794df442e2
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ function handleReadNotice(id: string) {
// 查看更多 // 查看更多
function handleViewMoreNotice() { function handleViewMoreNotice() {
router.push({ path: "/myNotice" }); router.push({ name: "MyNotice" });
} }
// 全部已读 // 全部已读

View File

@@ -59,7 +59,7 @@ export const constantRoutes: RouteRecordRaw[] = [
meta: { title: "个人中心", icon: "user", hidden: true }, meta: { title: "个人中心", icon: "user", hidden: true },
}, },
{ {
path: "myNotice", path: "my-notice",
name: "MyNotice", name: "MyNotice",
component: () => import("@/views/system/notice/components/MyNotice.vue"), component: () => import("@/views/system/notice/components/MyNotice.vue"),
meta: { title: "我的通知", icon: "user", hidden: true }, meta: { title: "我的通知", icon: "user", hidden: true },