When i use v-bind,vue warns about invalid prop.
Vue version
3.2.37
Link to minimal reproduction
Steps to reproduce
Just open the page.
What is expected?
no warn
What is actually happening?
Unexpected warning prompt appears
System Info
No response
Any additional comments?
vue 2.7.0 also has this problem.
This isn't a bug. It might look like it's working but props.params1
is still a ref and you will get a runtime error if you try to use it as a number. You should put testBind
and hookResult
in a reactive()
to unwrap all the refs before passing it to the component.