Skip to content

fix: preserve role menu selection and Vite startup#86

Merged
gqcn merged 2 commits into
mainfrom
feat/mess-enhance-clean-pr
Jul 8, 2026
Merged

fix: preserve role menu selection and Vite startup#86
gqcn merged 2 commits into
mainfrom
feat/mess-enhance-clean-pr

Conversation

@gqcn

@gqcn gqcn commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix the role permission drawer so switching between independent and linked menu selection modes preserves the real submitted menuIds instead of expanding button-only grants into parent menu selections.
  • Infer the initial role menu selection mode from persisted checked keys, and keep the UI-only menuCheckStrictly value out of role create/update payloads.
  • Add focused component coverage and a role E2E case for the Issue 角色修改前端问题 #82 regression path.
  • Start Vite through the project-local JavaScript CLI via node, and add Windows wrapper validation for ASCII-only make.cmd plus .cmd/.bat CRLF attributes.
  • Add the fix-role-menu-selection-mode OpenSpec change record and verification notes.

Tests

Not run by this PR creation step.

Related Issue

Resolves #82
Resolves #85

Submodule

apps/lina-plugins unchanged: a6ead41b963c964591969a234be8e57fd70f46cd -> a6ead41b963c964591969a234be8e57fd70f46cd.

@gqcn gqcn merged commit adb2fe8 into main Jul 8, 2026
32 checks passed
@gqcn gqcn deleted the feat/mess-enhance-clean-pr branch July 8, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows下make dev不能正常启动前端服务 角色修改前端问题

1 participant