@qiu_jun/monitors 0.0.5 → 0.0.6
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/miniprogram.js +1 -1
- package/package.json +1 -1
package/dist/miniprogram.js
CHANGED
|
@@ -76,7 +76,7 @@ function wrapLifecycle(fn, name, getContext) {
|
|
|
76
76
|
/** wrapLifecycle 上报出口(由 createMiniProgramMonitor 注入) */
|
|
77
77
|
let lifecycleErrorHandler = null;
|
|
78
78
|
/** 不上报的消息关键字:小程序提审/平台侧产生的导航失败噪声(如 navigateTo:fail page xxx.html is not found) */
|
|
79
|
-
const IGNORED_MESSAGE_KEYWORDS = ['.html is not found'];
|
|
79
|
+
const IGNORED_MESSAGE_KEYWORDS = ['.html is not found', '.html?'];
|
|
80
80
|
/** 命中关键字的消息不上报 */
|
|
81
81
|
function isIgnoredMessage(message) {
|
|
82
82
|
return IGNORED_MESSAGE_KEYWORDS.some(keyword => message.includes(keyword));
|