假设有如下state定义一、普通用法在组件中直接访问:this.$store.state.count二、mapState辅助函数用法1使用对象展开运算符,会默认传递参数state, ...
確定! 回上一頁