init project
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import type { RouteRecordRaw } from "vue-router";
|
||||
import CustomerTab from "@/pages/tabs/CustomerTab.vue";
|
||||
import ManagementTab from "@/pages/tabs/ManagementTab.vue";
|
||||
|
||||
const tabRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/customers",
|
||||
name: "CustomerTab",
|
||||
component: CustomerTab,
|
||||
meta: {
|
||||
depth: 2,
|
||||
navBarVisible: true,
|
||||
navBarCanBack: false,
|
||||
navBarTitle: "客户",
|
||||
tabBarVisible: true,
|
||||
bodyBackground: "#F5F5F8",
|
||||
darkBodyBackground: "#10161f"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/management",
|
||||
name: "ManagementTab",
|
||||
component: ManagementTab,
|
||||
meta: {
|
||||
depth: 2,
|
||||
navBarVisible: true,
|
||||
navBarCanBack: false,
|
||||
navBarTitle: "管理",
|
||||
tabBarVisible: true,
|
||||
bodyBackground: "#F5F5F8",
|
||||
darkBodyBackground: "#10161f"
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
export default tabRoutes;
|
||||
Reference in New Issue
Block a user