mapGetters 工具函数会将store 中的getter 映射到局部计算属性中。它的功能和mapState 非常类似,我们来直接看它的实现: mapGetters 的实现也 ...
確定! 回上一頁