1234567891011121314151617181920 |
- window.errOptions = [
- {
- name: /^unhandledrejection$/
- },
- {
- message: /(^Script error\.$|WeixinJSBridge|window)/
- },
- {
- name: /^TypeError/,
- message: /(scrollTop|\$el|readonly property\.$|Type error)/
- },
- {
- req: {
- method: /^GET$/
- },
- res: {
- status: /^(0|421)$/
- }
- }
- ];
|