diff --git a/src/components/preview/SimTextPreview.vue b/src/components/preview/SimTextPreview.vue index e29e945..a74e99e 100644 --- a/src/components/preview/SimTextPreview.vue +++ b/src/components/preview/SimTextPreview.vue @@ -382,6 +382,7 @@ // 确保在流结束时取消节流 throttledUpdateContent.cancel(); this.content = result; + this.setEditMap(index, this.content) return; } result += decoder.decode(value, { stream: true });