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
提交
取消