Solution
The error code is as follows:
< router-view @hideBox="hideLoginRegisterBox" @changeUI="changeLoginType"/>
Errors are reported as follows:
The modification code is as follows:
< router-view @hideBox="hideLoginRegisterBox" :changeUI="changeLoginType"/>
So far, the problem is solved
Similar Posts:
- [Solved] Vue router in the element UI navigation bar repeatedly clicks on the menu above version 3.0 and reports errors
- Vue: How to use Vue-router in Axios
- Uncaught SyntaxError: The requested module ‘/node_modules/.vite/react-router……Switch
- [Solved] VUE Project Error: Avoided redundant navigation to current location: “/XXX“
- ERROR Failed to compile with 1 errors
- [Solved] Vue Error: Property or method “changeLoginType” is not defined on the instance but referenced during render
- Vue3 router view keep alive include does not work [How to Solve]
- Solve the problem of from 192.168.1.10: ICMP when the virtual machine can ping the gateway_ The problem of SEQ = 1 redirect network (New NextHop: 192.168.1.1)
- Resolve Vue the navigationduplicated error on the console
- [Solved] Vue Error: NavigationDuplicated: Avoided redundant navigation to current location: “xxx”.