Closed vip30 closed 2 years ago
A Bug. Welcome for Pull Request too!
Seems to be relate to the core logic:
We may need take data[msg]
into consideration.
Add some judge condition to shouldPrependVmNew
,
So that the msg
will prepend with _vm.
A Bug. Welcome for Pull Request too!
Seems to be relate to the core logic: https://github.com/JuniorTour/vue-template-babel-compiler/blob/96bb88929e9c13cc8d408c5045bb1d984d869f2a/src/plugins/utils/shouldPrependVM.js
We may need take
data[msg]
into consideration.Add some judge condition to
shouldPrependVmNew
,So that the
msg
will prepend with_vm.
Please review the mr https://github.com/JuniorTour/vue-template-babel-compiler/pull/15
Current behavior
will generate
Expected behavior
Extra
Hence vue throws an error
14-09-2021 Updated: Seems not related to slot