|
@@ -52,9 +52,8 @@ const store = new Vuex.Store({
|
|
|
state.userInfo = provider
|
|
|
if (state.userInfo) {
|
|
|
state.clubType = provider.firstClubType
|
|
|
- if (provider.userIdentity) {
|
|
|
- state.identity = provider.userIdentity
|
|
|
- } else if (provider.userId == 5261 || provider.userId == 10947 || provider.userId == 11579) {
|
|
|
+ state.identity = provider.userIdentity
|
|
|
+ if (provider.userId == 5261 || provider.userId == 10947 || provider.userId == 11579) {
|
|
|
state.identity = 1
|
|
|
} else if (provider.firstClubType == 1) {
|
|
|
state.identity = 5
|