id (state, user) { state.mystatus = user.id }, following (state, user) { state.following = user.following }, follower (state, user) { state.follower = user.follower }, anum (state, user) { state.anum = user.anum } 是否可以写成 id (state, user) { state.mystatus = user.id state.following = user.following state.follower = user.follower state.anum = user.anum }如果可以应该是什么格式? 没查到这种范本 自己用webstorm写会提示语法报错 不知道是不是eslint的问题
添加回答
举报
0/150
提交
取消