feat(role): 跳转带的 ?filter={_id} 在角色列表里自动选中那条

role 是自定义 master-detail 页(非 ShrimpTable、不做服务端过滤),原 onMounted 默认选第一个,
无视 relation 跳转带的 _id。现全量加载后按 URL filter._id 客户端选中目标角色,解析不出走默认。
This commit is contained in:
2026-06-29 21:00:07 +08:00
parent 0b75f8c6f2
commit 701ed957ef
2 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "shrimp-admin",
"version": "0.3.5",
"version": "0.3.6",
"private": true,
"description": "Shrimp 框架前端 — 消费 ShrimpServer + ShrimpTable 契约的经典 Vue3 + Element Plus 实现",
"main": "src/index.ts",