- VueAdmin: 记录 moduleKey→IRouteInfo(moduleRoutes),加 routeForModule(判已注册+非子模块)
- FieldRelation.display: 目标可达时名字渲成链接,点击 router.push 到目标模块
+ ?filter={_id},落成过滤到单条的列表(框架无详情页,单项查看即此形态)
- 子模块目标/无权限目标不可点(routeForModule 返回 undefined)
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
"name": "shrimp-admin",
|
|
"version": "0.3.3",
|
|
"private": true,
|
|
"description": "Shrimp 框架前端 — 消费 ShrimpServer + ShrimpTable 契约的经典 Vue3 + Element Plus 实现",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./style": "./src/style/style.scss",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"README.md"
|
|
],
|
|
"peerDependencies": {
|
|
"vue": "^3.3.0",
|
|
"vue-router": "^4.0.0",
|
|
"vue-i18n": "^9.0.0",
|
|
"axios": "^1.0.0",
|
|
"element-plus": "^2.0.0",
|
|
"@element-plus/icons-vue": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.3.0",
|
|
"vite": "^4.4.5",
|
|
"vue": "^3.3.4",
|
|
"vue-router": "^4.1.6",
|
|
"vue-i18n": "^9.1.9",
|
|
"axios": "^1.3.4",
|
|
"element-plus": "^2.10.4",
|
|
"@element-plus/icons-vue": "^2.1.0"
|
|
}
|
|
}
|