We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
一、Remote端(简写):
import { ref } from 'vue-demi' const dataSource = ref<any[]>([]) onMounted(() => { dataSource.value = [1, 2, 3] })
二、Host端(简写)
watch(() => dataSource.value, () => { console.log(dataSource.value) })
remote端打包以后,在host端使用 dataSource变量,但是这个变量的响应式失效了,不能监听、不能更新UI,这是什么原因造成的呢?或者有什么解决方案呢?
The text was updated successfully, but these errors were encountered:
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Title: Using vue-demi to export ref objects will invalidate the responsiveness
Sorry, something went wrong.
No branches or pull requests
一、Remote端(简写):
import { ref } from 'vue-demi' const dataSource = ref<any[]>([]) onMounted(() => { dataSource.value = [1, 2, 3] })
二、Host端(简写)
remote端打包以后,在host端使用 dataSource变量,但是这个变量的响应式失效了,不能监听、不能更新UI,这是什么原因造成的呢?或者有什么解决方案呢?
The text was updated successfully, but these errors were encountered: