We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
3.3.4
https://play.vuejs.org/#__DEV__eNplkEFPhDAQhf/K2AuQrDRetRDNXvSqJl64VJhliaVtyhRNCP/dAdw1useZ982beTOJB+/zMaK4FWqoQ+cJBqToy8p2vXeBYIKAhx20SPsYAlp6sgNpW+MOyD3rT5jhEFwPCbskla1s7RiAfmihWEbT5BGNcfDmgmmukuwX6X6MmLt0T7O7E3fUtjH4igPtTVd/MJ5mUJQwsRVJyZvyUZu4+KwXpSdj3gWweDiDuXHtX0EbDHRu5WvsF9KEOTsyMS+XKrl9hf/BBWHvDRNcAajjTTlNa9B5VpKrtdtZHwnG6941aIpKsF6JTXqPRM7Cfb3EYOlfMMYIvwhWWcmN5kklz3vF/A32HJoO
prod环境下点击test click能正常获取msg
No response
The text was updated successfully, but these errors were encountered:
问题背景,项目需要做持久化缓存,需要获取类似vue2中的$data数据去存储
Sorry, something went wrong.
<script setup> import { ref, getCurrentInstance, toRaw } from 'vue' const msg = ref('Hello World!') defineExpose({msg}) const instance = getCurrentInstance(); const handleTestClick = () => { console.log(instance.exposeProxy.msg) } </script>
No branches or pull requests
Vue version
3.3.4
Link to minimal reproduction
https://play.vuejs.org/#__DEV__eNplkEFPhDAQhf/K2AuQrDRetRDNXvSqJl64VJhliaVtyhRNCP/dAdw1useZ982beTOJB+/zMaK4FWqoQ+cJBqToy8p2vXeBYIKAhx20SPsYAlp6sgNpW+MOyD3rT5jhEFwPCbskla1s7RiAfmihWEbT5BGNcfDmgmmukuwX6X6MmLt0T7O7E3fUtjH4igPtTVd/MJ5mUJQwsRVJyZvyUZu4+KwXpSdj3gWweDiDuXHtX0EbDHRu5WvsF9KEOTsyMS+XKrl9hf/BBWHvDRNcAajjTTlNa9B5VpKrtdtZHwnG6941aIpKsF6JTXqPRM7Cfb3EYOlfMMYIvwhWWcmN5kklz3vF/A32HJoO
Steps to reproduce
What is expected?
prod环境下点击test click能正常获取msg
What is actually happening?
No response
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: