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

This commit is contained in:
2026-08-05 14:08:03 +08:00
parent 29aaabdabf
commit a9e4d6e9b9
6 changed files with 23 additions and 11 deletions
+2 -1
View File
@@ -1062,7 +1062,8 @@ class WebhookCoordinator {
this.activePanel.postMessage({
type: 'issue/patch',
issueNumber: event.issueNumber,
patch: { pr: undefined },
// null 才能过 postMessageundefined 会被序列化丢掉
patch: { pr: null },
})
}
catch (err) {