@cpzxrobot/sdk 1.3.128 → 1.3.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web_platform.js +1 -1
- package/package.json +1 -1
- package/web_platform.ts +1 -1
package/dist/web_platform.js
CHANGED
package/package.json
CHANGED
package/web_platform.ts
CHANGED
|
@@ -121,7 +121,7 @@ export class WebPlatform implements PlatformInterface {
|
|
|
121
121
|
try {
|
|
122
122
|
if (line === "[DONE]") {
|
|
123
123
|
break;
|
|
124
|
-
} else if (line.startsWith("data:
|
|
124
|
+
} else if (line.startsWith("data:")) {
|
|
125
125
|
// remove prefix 'data: '
|
|
126
126
|
// 移除前缀 'data: '
|
|
127
127
|
var data = JSON.parse(line.split(": ")[1]!);
|