Skip to content

fix: 修复内部 API 授权保存的克隆错误#482

Merged
lzx8589561 merged 1 commit into
ZToolsCenter:mainfrom
Particaly:fix/general-settings-save-error
May 11, 2026
Merged

fix: 修复内部 API 授权保存的克隆错误#482
lzx8589561 merged 1 commit into
ZToolsCenter:mainfrom
Particaly:fix/general-settings-save-error

Conversation

@Particaly

Copy link
Copy Markdown
Collaborator

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the saveSettings function in GeneralSetting.vue to create a shallow copy of the customInternalApiPluginNames array using the spread operator. This change ensures that a new array reference is passed instead of the original reactive reference, preventing potential side effects. I have no feedback to provide as there were no review comments.

@lzx8589561 lzx8589561 merged commit 3654e5e into ZToolsCenter:main May 11, 2026
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.

2 participants