@lark-apaas/fullstack-rspack-preset 1.0.8-alpha.log.1 → 1.0.8-alpha.log.3
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/lib/overlay/index.js
CHANGED
|
@@ -225,7 +225,7 @@ function render() {
|
|
|
225
225
|
else if (currentRuntimeErrors.length) {
|
|
226
226
|
currentMode = 'runtimeError';
|
|
227
227
|
// 发送运行错误
|
|
228
|
-
logError(['Uncaught Render Error', currentRuntimeErrors]);
|
|
228
|
+
logError(['Uncaught Render Error', ...currentRuntimeErrors]);
|
|
229
229
|
// 叠加全部报错,将报错信息发送到妙搭
|
|
230
230
|
ErrorContainer(rootDocument, root, '哎呀,出错了');
|
|
231
231
|
}
|
|
@@ -102,7 +102,7 @@ function getSlardarScriptContent(option = {}) {
|
|
|
102
102
|
|
|
103
103
|
// 添加 TTI 监控脚本
|
|
104
104
|
const performanceScript = document.createElement('script');
|
|
105
|
-
performanceScript.src = 'https://sf3-scmcdn-cn.feishucdn.com/obj/unpkg/byted/performance/0.1.
|
|
105
|
+
performanceScript.src = 'https://sf3-scmcdn-cn.feishucdn.com/obj/unpkg/byted/performance/0.1.2/dist/performance.iife.js';
|
|
106
106
|
document.head.appendChild(performanceScript);
|
|
107
107
|
`;
|
|
108
108
|
}
|