Global functions will override local functions #3073
Labels
❗ p4-important
Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.
🐞 bug
Something isn't working
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 inHelloWorld.vue
. TheHelloWorld.vue
is async imported, used to simulate routes.What is expected?
Local functions should be executed
What is actually happening?
Global functions are executed
The text was updated successfully, but these errors were encountered: