Use mpvue to develop WeChat applets and report an error cannot read property 'call' of undefined after compiling

I encountered such a problem. The situation at the time was like this. The code of this branch has already been released without any problems. Then I switched from a development branch to this branch and reported this error. cannot read property 'call' of undefinedReally I scratched my head, because there was no change, and then I couldn't open the applet on the real machine, and it was in a white screen state.

insert image description here

In the later investigation, I searched the Internet and said that there is a conflict in the component name. I don’t think it’s possible. I haven’t touched the code. The code compiled before the meeting was not completely deleted for me. Some components were compiled repeatedly, and then this error was caused. I immediately deleted the compiled file manually, and then compiled the code again. Happy, this is the first time I have encountered this situation, I don't know why, maybe the computer is stuck. Record this question, hope it can help everyone.

The personal level is limited. If you have any questions, please leave a message for guidance. It is only for learning and reference.

There is no limit to learning! Work hard, encourage each other!

Guess you like

Origin blog.csdn.net/qq_37131884/article/details/105257805