... computed:{ count(){ //返回获取到的数据 return this.$store.state.count } } } </script>. 方式2、vuex 提供的mapGetters 和mapActions 来访问.
確定! 回上一頁