composition-api icon indicating copy to clipboard operation
composition-api copied to clipboard

Variables created with ref in <templete>,do not automatically expand value

Open yang49519845 opened this issue 2 years ago • 3 comments

Vue version is V2.6.14 @vue/composition-api: 1.7.1

https://codesandbox.io/p/github/yang49519845/vue2-composition-api/draft/romantic-darwin?file=%2Fsrc%2FApp.vue&selection=%5B%7B%22endColumn%22%3A13%2C%22endLineNumber%22%3A19%2C%22startColumn%22%3A13%2C%22startLineNumber%22%3A19%7D%5D

In local development, everything is normal. When this component is encapsulated into a global component, the value will not be automatically expanded into the template

yang49519845 avatar Oct 02 '22 03:10 yang49519845

Did you manage to resolve this issue?

I am with the same bug.

rangeldor avatar Oct 11 '22 18:10 rangeldor

Did you manage to resolve this issue?

I am with the same bug.

I used version 2.6.14 to run test cases. The first one was not passed. I passed 2.6.10

yang49519845 avatar Oct 12 '22 10:10 yang49519845

Thank you!

I think is because of this: vue@>= 2.5 < 2.7, required by @vue/[email protected]

rangeldor avatar Oct 13 '22 13:10 rangeldor

This bug still exists and it would be nice to be fixed in the next version

rangeldor avatar Oct 26 '22 06:10 rangeldor