摘要: 不使用map辅助函数: computed: { test:()=> this.$store.getters.doSome } 使用map辅助函数: computed: { ...mapGetters({ 'test': 'doSome' }) } 似乎看起来使用map辅助函数更麻烦,其实不然,当我们 阅读全文
posted @ 2020-10-19 14:05 世界因你而小 阅读(1609) 评论(0) 推荐(0) 编辑