Skip to content

管理面板后台项目,点击编辑无效 #2820

Description

@Jaaayden

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

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions