给更多页添加头部和底部并修改本地userid
This commit is contained in:
@ -25,7 +25,7 @@ const user = {
|
||||
},
|
||||
SET_USER_ID: (state, userId) => {
|
||||
state.userId = userId;
|
||||
localStorage.setItem('userId', userId);
|
||||
localStorage.setItem('web-userId', userId);
|
||||
},
|
||||
SET_AVATAR: (state, avatar) => {
|
||||
state.avatar = avatar;
|
||||
|
Reference in New Issue
Block a user