chore: update

This commit is contained in:
xiaoxian521 2024-04-09 15:59:15 +08:00
parent 375368a119
commit b87b3cae87
7 changed files with 10 additions and 18 deletions

View File

@ -40,8 +40,7 @@ const systemManagementRouter = {
meta: { meta: {
icon: "ep:menu", icon: "ep:menu",
title: "menus.pureSystemMenu", title: "menus.pureSystemMenu",
roles: ["admin"], roles: ["admin"]
fixedTag: true
} }
}, },
{ {
@ -120,8 +119,7 @@ const permissionRouter = {
name: "PermissionPage", name: "PermissionPage",
meta: { meta: {
title: "menus.purePermissionPage", title: "menus.purePermissionPage",
roles: ["admin", "common"], roles: ["admin", "common"]
fixedTag: true
} }
}, },
{ {
@ -245,8 +243,7 @@ const frameRouter = {
title: "menus.purePiniaDoc", title: "menus.purePiniaDoc",
frameSrc: "https://pinia.vuejs.org/zh/index.html", frameSrc: "https://pinia.vuejs.org/zh/index.html",
keepAlive: true, keepAlive: true,
roles: ["admin", "common"], roles: ["admin", "common"]
fixedTag: true
} }
}, },
{ {

View File

@ -429,6 +429,7 @@ function showMenuModel(
tagsViews[v].show = false; tagsViews[v].show = false;
tagsViews[v].disabled = true; tagsViews[v].disabled = true;
}); });
fixedTagDisabled();
} else if (routeLength - 1 === currentIndex && currentIndex !== 0) { } else if (routeLength - 1 === currentIndex && currentIndex !== 0) {
// //
tagsViews[3].show = false; tagsViews[3].show = false;

View File

@ -32,8 +32,7 @@ export default {
name: "WaterMark", name: "WaterMark",
component: () => import("@/views/able/watermark.vue"), component: () => import("@/views/able/watermark.vue"),
meta: { meta: {
title: $t("menus.pureWatermark"), title: $t("menus.pureWatermark")
fixedTag: true
} }
}, },
{ {
@ -73,8 +72,7 @@ export default {
name: "Debounce", name: "Debounce",
component: () => import("@/views/able/debounce.vue"), component: () => import("@/views/able/debounce.vue"),
meta: { meta: {
title: $t("menus.pureDebounce"), title: $t("menus.pureDebounce")
fixedTag: true
} }
}, },
{ {

View File

@ -17,8 +17,7 @@ export default {
meta: { meta: {
icon: "ri:bank-card-line", icon: "ri:bank-card-line",
title: $t("menus.pureListCard"), title: $t("menus.pureListCard"),
showParent: true, showParent: true
fixedTag: true
} }
} }
] ]

View File

@ -42,8 +42,7 @@ export default {
name: "Menu1-2-1", name: "Menu1-2-1",
meta: { meta: {
title: $t("menus.pureMenu1-2-1"), title: $t("menus.pureMenu1-2-1"),
keepAlive: true, keepAlive: true
fixedTag: true
} }
}, },
{ {

View File

@ -18,8 +18,7 @@ export default {
title: "PPT", title: "PPT",
keepAlive: true, keepAlive: true,
frameSrc: "https://pipipi-pikachu.github.io/PPTist/", frameSrc: "https://pipipi-pikachu.github.io/PPTist/",
frameLoading: false, frameLoading: false
fixedTag: true
} }
} }
] ]

View File

@ -23,8 +23,7 @@ export default {
name: "PureTableHigh", name: "PureTableHigh",
component: () => import("@/views/table/high.vue"), component: () => import("@/views/table/high.vue"),
meta: { meta: {
title: $t("menus.pureTableHigh"), title: $t("menus.pureTableHigh")
fixedTag: true
} }
}, },
{ {