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:
- Vue refreshes the current page (no flash screen will appear)
- Vuepress build error: window is not defined [How to Solve]
- [Solved] Vue-router Error: Navigation cancelled from “/course“ to “/user“ with a new navigation.
- [Solved] component import error is declared in the statement of components
- [vue/no-multiple-template-root] The template root requires exactly one element.
- Vue Error: component has been registered but not used [Two Methods to Solve]
- [Solved] Vue E-Charts Error: These dependencies were not found:
- [Solved] Vue Error: Error in nextTick: “RangeError: Maximum call stack size exceeded“
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- Vue3.X Attribute Inheritance error [How to Solve]
- [Solved] vue-roter 4 Error: Error: Invalid route component/Uncaught (in promise) Error: Invalid route component
- Nuxt integrate with qiankun as the main application Error: SKIP_BECAUSE_BROKEN
- [Solved] Vuepress Package Error: document is not defined
- How to Solve VUE Error: Avoid mutating a prop directly since the value will be overwritten …
- [Solved] Front end error: Unknown custom element
- [Solved] Cannot read properties of undefined (reading ‘propsData‘)“
- [Solved] Angular basic create component error: Is it missing an @NgModule annotation
- [Solved] Uncaught SyntaxError: Cannot use import statement outside a module
- uniapp Use render Function Error: [Vue warn]: Error in beforeCreate hook: “TypeError: Cannot read property ‘_i‘ of
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag