标签:ice span 如何 ati div methods price ons rem
组件之间的数据同步与共享
methods: { addOne () { this.$store.commit(‘increment‘, this.price) }, minusOne () { this.$store.commit(‘decrement‘, this.price) } }
methods: { addOne () { this.$store.dispatch(‘increase‘, this.price) } }
标签:ice span 如何 ati div methods price ons rem
原文地址:https://www.cnblogs.com/NeryXJ/p/9930011.html