标签:取值

取值

#取值

📚 共 20 篇文章 🏷️ 标签分类 📝 取值
取值

vuex存值与取值的实例

组件内取值computed:{value(){returnthis.$store.state.userData.xxx;}},组件内存值methods:{fn(){this.$store.commit