现在解构仓库已经不会丢失响应式了吗? 24/1/21 #2557
Unanswered
singleeeee
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
现在解构仓库已经不会丢失响应式了吗? 24/1/21
// 从仓库获取userInfo
const userInfoStore = useUserInfoStore()
// 用户信息
const { userInfo } = userInfoStore
这里使用的时候发现userinfo(对象)仍具有响应式特性
Beta Was this translation helpful? Give feedback.
All reactions