feat: sse连接,处理流式渲染

This commit is contained in:
rd
2025-08-23 11:53:27 +08:00
parent 063ce3df5e
commit 75874d88dc
6 changed files with 179 additions and 91 deletions

8
pnpm-lock.yaml generated
View File

@ -41,6 +41,9 @@ importers:
element-resize-detector:
specifier: ^1.2.4
version: 1.2.4
event-source-polyfill:
specifier: ^1.0.31
version: 1.0.31
html2canvas:
specifier: ^1.4.1
version: 1.4.1
@ -2375,6 +2378,9 @@ packages:
resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}
engines: {node: '>= 0.6'}
event-source-polyfill@1.0.31:
resolution: {integrity: sha512-4IJSItgS/41IxN5UVAVuAyczwZF7ZIEsM1XAoUzIHA6A+xzusEZUutdXz2Nr+MQPLxfTiCvqE79/C8HT8fKFvA==}
execa@5.1.1:
resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}
engines: {node: '>=10'}
@ -8588,6 +8594,8 @@ snapshots:
etag@1.8.1: {}
event-source-polyfill@1.0.31: {}
execa@5.1.1:
dependencies:
cross-spawn: 7.0.3