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的问题
幕布斯6054654
qq_遁去的一_1