🐛 fix(vscode): issue/patch 用 null 清空 worktree 字段以便 webview 即时刷新

This commit is contained in:
cruldra committed 2026-08-05 14:08:03 +08:00
1 parent 29aaabdabf
commit a9e4d6e9b9
6 files changed
+23 -11

No files matched your search

+2 -1
View File
@@ -1062,7 +1062,8 @@ class WebhookCoordinator {
this.activePanel.postMessage({
type: 'issue/patch',
issueNumber: event.issueNumber,
patch: { pr: undefined },
// null 才能过 postMessage;undefined 会被序列化丢掉
patch: { pr: null },
})
}
catch (err) {