refactor: ♻️ 我的通知路由路径规范调整
This commit is contained in:
@@ -149,7 +149,7 @@ function handleReadNotice(id: string) {
|
|||||||
|
|
||||||
// 查看更多
|
// 查看更多
|
||||||
function handleViewMoreNotice() {
|
function handleViewMoreNotice() {
|
||||||
router.push({ path: "/myNotice" });
|
router.push({ name: "MyNotice" });
|
||||||
}
|
}
|
||||||
|
|
||||||
// 全部已读
|
// 全部已读
|
||||||
|
|||||||
@@ -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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user