|
@@ -128,9 +128,7 @@ const user: Module<UserState, UserState> = {
|
|
|
commit('SET_AVATAR', avatar)
|
|
|
commit('SET_NICKNAME', res.user.nickName)
|
|
|
commit('SET_USERID', res.user.userId)
|
|
|
-
|
|
|
- uni.setStorageSync('userType', res.user.userId)
|
|
|
-
|
|
|
+
|
|
|
uni.$u.connectSoket(res.user.userId);
|
|
|
|
|
|
|