add store tab
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user