Subscribe on changes!

Global functions will override local functions

avatar
Jan 21st 2021

Version

3.0.5

Reproduction link

https://codesandbox.io/s/admiring-hermann-v6iop

Steps to reproduce

The global function is in main.js, the same name local function is in HelloWorld.vue. The HelloWorld.vue is async imported, used to simulate routes.

What is expected?

Local functions should be executed

What is actually happening?

Global functions are executed

avatar
Jan 21st 2021

image

avatar
Jan 21st 2021

wait