test: 优化大文本文件的预览体验
This commit is contained in:
parent
cd5b7e2326
commit
1db73eceae
@ -382,6 +382,7 @@
|
||||
// 确保在流结束时取消节流
|
||||
throttledUpdateContent.cancel();
|
||||
this.content = result;
|
||||
this.setEditMap(index, this.content)
|
||||
return;
|
||||
}
|
||||
result += decoder.decode(value, { stream: true });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user