add store tab

This commit is contained in:
Timi
2026-08-11 19:53:04 +08:00
parent 1f8183034d
commit e612cfd382
4 changed files with 203 additions and 108 deletions
+5
View File
@@ -116,6 +116,7 @@ const navBarHeight = computed(() => {
const tabVal = ref(route.path);
const list = [
{ value: "/customers", icon: "usergroup", text: "客户" },
{ value: "/store", icon: "shop", text: "门店" },
{ value: "/management", icon: "setting-1", text: "管理" }
];
@@ -128,6 +129,10 @@ function resolveTabValue(path: string): string {
return "/customers";
}
if (path.startsWith("/store")) {
return "/store";
}
if (path.startsWith("/management")) {
return "/management";
}