Skip to content

fix: 解决storage无法修改key的问题#709

Merged
Maizify merged 1 commit intoTencent:devfrom
coderwang:dev
Mar 12, 2026
Merged

fix: 解决storage无法修改key的问题#709
Maizify merged 1 commit intoTencent:devfrom
coderwang:dev

Conversation

@coderwang
Copy link
Copy Markdown
Contributor

@coderwang coderwang commented Feb 28, 2025

#690 优先执行model.removeItem(key)会导致状态被清理,从而导致model.setItem(editingKey, editingVal)无法被正常执行。故调换执行顺序。

Wyatex added a commit to Wyatex/vConsole-fix that referenced this pull request May 12, 2025
@Maizify Maizify merged commit 11ce078 into Tencent:dev Mar 12, 2026
1 of 2 checks passed
Maizify added a commit that referenced this pull request Mar 12, 2026
Save editingKey/editingVal to locals and reset UI state before awaiting
setItem/removeItem, preventing reactive refresh from clearing state mid-operation.

issue #690, PR #709
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