fix(admin): 修复管理员页面导航链接错误
- 在应用配置中添加了 users/index 页面路径 - 将管理员界面中的成员管理导航链接从 /dealer/orders/index 修正为 /admin/users/index - 修正了 Grid.Item 组件的点击事件目标路径
This commit is contained in:
@@ -134,7 +134,7 @@ const DealerIndex: React.FC = () => {
|
||||
border: 'none'
|
||||
} as React.CSSProperties}
|
||||
>
|
||||
<Grid.Item text="成员管理" onClick={() => navigateToPage('/dealer/orders/index')}>
|
||||
<Grid.Item text="成员管理" onClick={() => navigateToPage('/admin/users/index')}>
|
||||
<View className="text-center">
|
||||
<View className="w-12 h-12 bg-blue-50 rounded-xl flex items-center justify-center mx-auto mb-2">
|
||||
<Shopping color="#3b82f6" size="20"/>
|
||||
|
||||
@@ -87,6 +87,7 @@ export default defineAppConfig({
|
||||
"root": "admin",
|
||||
"pages": [
|
||||
"index",
|
||||
"users/index",
|
||||
"article/index",
|
||||
"userVerify/index"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user