可以取得當前的state(store or module) ... 從vuex 引入mapState,並且調整下.vue,mapState讓取用state 可以更方便 import {mapState} from "vuex"; ...
確定! 回上一頁