优化 错误监控功能重构 - 集成uniapp-error-monitor依赖,实现优雅降级机制和完整环境兼容

This commit is contained in:
yuantao
2025-12-01 19:07:15 +08:00
parent 3fbb7294fb
commit 1ca6e6c77a
4 changed files with 231 additions and 539 deletions

19
package-lock.json generated
View File

@@ -7,6 +7,7 @@
"dependencies": {
"dayjs": "*",
"dotenv": "^17.2.2",
"uniapp-error-monitor": "^1.0.0",
"vue": "^3.5.21"
}
},
@@ -274,6 +275,24 @@
"node": ">=0.10.0"
}
},
"node_modules/uniapp-error-monitor": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/uniapp-error-monitor/-/uniapp-error-monitor-1.0.0.tgz",
"integrity": "sha512-B2dyJV8Sx9W6k/J1vg/dKf7Tsbzs50tGrVz/Qm+ruMbZ/3u0oIzvjgrnF96hdlJx21JUgWt5cigfOaTyx7qfmA==",
"license": "MIT",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"peerDependencies": {
"@dcloudio/uni-app": "^3.0.0"
},
"peerDependenciesMeta": {
"@dcloudio/uni-app": {
"optional": true
}
}
},
"node_modules/vue": {
"version": "3.5.25",
"resolved": "https://registry.npmmirror.com/vue/-/vue-3.5.25.tgz",