storeToRefs

storeToRefs()的作用和使用

`store` 是一个用 `reactive` 包装的对象,这意味着不需要在 getters 后面写 `.value`,就像 `setup` 中的 `props` 一样,**如果你写了,我们也不能解构它**: ```Vue ``` 为了从 store 中提取属性时保持其响应性,你需要使用 `stor ......
storeToRefs 作用
共1篇  :1/1页 首页上一页1下一页尾页