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