feat: 使用@microsoft/fetch-event-source库

This commit is contained in:
2026-06-23 10:13:53 +08:00
parent 70c4bab3f6
commit 0383572d39
4 changed files with 128 additions and 61 deletions

8
package-lock.json generated
View File

@@ -8,9 +8,11 @@
"name": "web-game",
"version": "0.0.0",
"dependencies": {
"@microsoft/fetch-event-source": "^2.0.1",
"axios": "^1.17.0",
"cropperjs": "^2.1.1",
"element-plus": "^2.14.2",
"mitt": "^3.0.1",
"pinia": "^3.0.4",
"pinia-plugin-persistedstate": "^4.7.1",
"qrcode": "^1.5.4",
@@ -740,6 +742,12 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
"node_modules/@microsoft/fetch-event-source": {
"version": "2.0.1",
"resolved": "https://registry.npmmirror.com/@microsoft/fetch-event-source/-/fetch-event-source-2.0.1.tgz",
"integrity": "sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA==",
"license": "MIT"
},
"node_modules/@napi-rs/wasm-runtime": {
"version": "1.1.5",
"resolved": "https://registry.npmmirror.com/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.5.tgz",