摘要: index.js 页面 state:{ name } mutations:{ changeJob(state,name){ state.name=name; } } actions: { changeJob(ctx,name){ ctx.commit("changeJob",name); }, } 阅读全文
posted @ 2020-09-21 10:08 WANGHUAN- 阅读(311) 评论(0) 推荐(0) 编辑