The project runs normally on H5. When it is debugged and opened with the real machine, the app reports an error and a white screen appears.
Scene reproduction:
If the route jumps to the toapproval page, the above problem will occur.
Troubleshooting:
After step-by-step positioning and troubleshooting, the problem appears in the component of toapproval page
Firstly, the toapproval page is under the main business pages folder, but the workflowdetail component of this page is imported from the subcontracting pagesoa folder. This leads to a white screen in the business jump during real machine debugging. However, it is not so strict in H5 browser, so this problem will not occur and it is not easy to locate the problem.
Solution:
If you find the problem, you can easily solve it. You can change the name of this component, copy it to the components folder, and import it from the components folder again.
Read More:
- [Solved] Error in nextTick: “TypeError: undefined is not iterable
- [Web Browser] “Uncaught TypeError: object is not a function“
- [Vue warn]: Error in v-on handler: “TypeError: Object(…) is not a function“
- [Solved] Uni.createintersectionobserver Error: Uncaught TypeError: Cannot read property ‘bottom’ of null
- [Solved] Module build failed TypeError this.getOptions is not a function at Object.loader
- [Solved] This dependency was not found: * core-js/modules/es.error.cause.js in ./node_modules/_@babel_runtim
- [Solved] Syntax Error: TypeError: Cannot set property ‘parent‘ of undefined
- [Solved] Vue Project Error: “TypeError: Cannot read properties of undefined (reading ‘init‘)“
- [Solved] react Chrome Browser Error: Uncaught TypeError: Cannot read properties of undefined (reading ‘forEach‘)
- [Solved] TYPEERROR: CANNOT READ PROPERTY ‘REDUCE‘ OF UNDEFINED
- [Solved] ESLint:TypeError: this.CliEngine is not a constructor
- Error in nextTick: “TypeError: Cannot set properties of undefined (setting ‘checked‘)“
- [Solved] Install The Latest Version of Jest Error: TypeError: Cannot read property ‘instrument‘ of undefined
- [Solved] Vue Error: TypeError: Cannot read property ‘end‘ of undefined
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined
- [Solved] Echart Error: Typeerror: axis Getaxesonzeroof is not a function
- TypeError: r.indexOf is not a function TypeError: r.indexOf is not a function
- Echarts Partially introduced error: TypeError: Cannot read property ‘findAxisModel’ of undefined
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined
- [Solved] node-xlsx Write excel Error: TypeError: n.indexOf is not a function