vuex 有mapState方法,可以在computed中简写一些计算属性 ... computed:{ //对象写法,这个mapState可以使其生成计算属性,从state中获取数据, //键 ...
確定! 回上一頁