摘要: <script> import { mapGetters } from 'vuex' const getters = { a: () => 1, b: () => 2 } function fn (keys) { const data = {} keys.forEach(key => { // if 阅读全文