fix(staff)
This commit is contained in:
parent
0202c68fe0
commit
db6ab6fab7
|
@ -19,6 +19,12 @@ export const items: ItemType<MenuItemType>[] = [
|
|||
icon: <UserOutlined />,
|
||||
children: [{ key: "/user/list", label: `用户管理` }],
|
||||
},
|
||||
{
|
||||
key: "/city",
|
||||
label: `城市管理`,
|
||||
icon: <UserOutlined />,
|
||||
children: [{ key: "/city/list", label: `城市管理` }],
|
||||
},
|
||||
{
|
||||
key: "/sku",
|
||||
label: `商品管理`,
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
const City = () => {
|
||||
return <div>City</div>;
|
||||
};
|
||||
|
||||
export default City;
|
|
@ -31,6 +31,13 @@ const routers = createHashRouter([
|
|||
Component:(await import("@/pages/order")).default,
|
||||
})
|
||||
},
|
||||
{
|
||||
path: "/city/list",
|
||||
index: true,
|
||||
lazy: async() => ({
|
||||
Component:(await import("@/pages/city")).default,
|
||||
})
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue