We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
使用vue-cli构建的项目,vue产生的一些错误信息没有捕获到
The text was updated successfully, but these errors were encountered:
Vue clis3以上,需要在main.js中添加
main.js
import BJ_REPORT from 'badjs-report' BJ_REPORT.init({ id: 3, url: "http://127.0.0.1:8081/badjs", repeat: 10, random: 1, }) Vue.use(ElementUI); Vue.config.errorHandler = (error, vm, i) => { BJ_REPORT.report(error) console.error(error) } Vue.config.warnHandler = (msg, vm, trace) => { BJ_REPORT.report({ msg: `warm:${msg}`, target: Object.keys(vm.$refs) + '', }) console.warn(msg); }
Sorry, something went wrong.
No branches or pull requests
使用vue-cli构建的项目,vue产生的一些错误信息没有捕获到
The text was updated successfully, but these errors were encountered: