store.getters.方法名mapGetters 1:导入mport {mapGetters} from 'vuex' 2:定义computed:{ ...mapGetters(['方法名']) } 使用:this.方法名 ...
確定! 回上一頁