Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue2 +composition-api+ ts 使用 没有.value自动输入了 #1466

Closed
shengshengle opened this issue Jun 16, 2022 · 0 comments
Closed

vue2 +composition-api+ ts 使用 没有.value自动输入了 #1466

shengshengle opened this issue Jun 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@shengshengle
Copy link

shengshengle commented Jun 16, 2022

因为是从compostion引入的 ref就没有自动的.value ,我试了一下 如果是从 @vue/runtime-dom引入的ref就可以自动.value ,怎么解决呢? import { ref } from '@vue/composition-api'

@shengshengle shengshengle changed the title vue2 composition ts 使用 没有.value自动输入了 vue2 +composition-api+ ts 使用 没有.value自动输入了 Jun 16, 2022
@johnsoncodehk johnsoncodehk added the enhancement New feature or request label Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants