摘要:
https://www.cnblogs.com/Angies/p/7508907.html dispatch:含有异步操作,例如向后台提交数据,写法: this.$store.dispatch('action方法名',值) commit:同步操作,写法:this.$store.commit('mut 阅读全文
摘要:
var arr=['momo','yanzi','ziwei'] var obj={ 'host':'www.baidu', 'port':'12345', 'node':'selector' } Mock.mock('http://www.bai.com',{ 'firstName|3':'fei 阅读全文