[Solved] Vue Error: Invalid handler for event “changeUI”: got undefined

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: