error_monitor-test
验证前端异常系统提交;当前只是个人测试使用
JS异常监控提交,
静态资源异常监控提交,
ajax异常监控提交,
安装//Install
npm install error_monitor-test --save
ES6
import {monitorErr} from 'error_monitor-test'
使用方法//Usage
monitorErr({
url: 'http://localhost:8080/add', //报错信息提交后台的接口(自己测试的)
method: 'GET', //请求类型 post/get 默认为post
otherData: {}, //自己附加的信息,该信息会与报错信息一起传给后端
})