摘要: 什么是解构容器数据? 我们在state中定义了两个状态count和foo,如下: export const useMainStore = defineStore('main', { state: () => { return { count: 100, foo: 'bar' } }, getters 阅读全文
posted @ 2023-07-24 12:00 爱吃雪糕的小布丁 阅读(227) 评论(0) 推荐(0) 编辑