Describe the bug
后台点击项目详情的“编辑”,回到详情、网址失去 edit=1,无控制台错误。
根因:ProjectsRouteViewContent.goEdit 添加 edit=1,useProjectsList 使用 useUrlListState,其 write 仅序列化 page。useUrlListState 的 effect 随后重写整段 search,删掉 edit 参数。所有项目共享这一逻辑。
Core v14.8.0 源码与检查时 master(Admin 8.4.28)均存在该逻辑。
Reproduction
后台点击项目详情的“编辑”,无效,页面会闪一下
System Info
Core: @mx-space/core 14.8.0
Admin: Core 14.8.0 自带版本
部署方式: Docker,innei/mx-server:latest
API Base: /api/v3
Node.js: 26.7.0
pnpm: 11.25.0
API 根接口返回:
name: @mx-space/core
version: 14.8.0
https://xxu.do/v3
Validations
Describe the bug
后台点击项目详情的“编辑”,回到详情、网址失去 edit=1,无控制台错误。
根因:ProjectsRouteViewContent.goEdit 添加 edit=1,useProjectsList 使用 useUrlListState,其 write 仅序列化 page。useUrlListState 的 effect 随后重写整段 search,删掉 edit 参数。所有项目共享这一逻辑。
Core v14.8.0 源码与检查时 master(Admin 8.4.28)均存在该逻辑。
Reproduction
后台点击项目详情的“编辑”,无效,页面会闪一下
System Info
Validations