The directive is overwritten by the varriable which has the same name as the directive when use composition API #3275
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
has workaround
A workaround has been found to avoid the problem
🐞 bug
Something isn't working
Version
3.0.5
Reproduction link
https://github.com/Ryan2128/test
Steps to reproduce
Just run it.
What is expected?
Behavior as same as option API
What is actually happening?
After compile, the directive and the varriable both are properties of
$setup
The text was updated successfully, but these errors were encountered: