Fixed initialize bug for customer login
This commit is contained in:
@@ -711,7 +711,8 @@ export default function initialize() {
|
||||
window.$gz.role.AUTHORIZATION_ROLES.CustomerFull,
|
||||
window.$gz.role.AUTHORIZATION_ROLES.CustomerLimited
|
||||
]) &&
|
||||
(window.$gz.store.userType == 4 || window.$gz.store.userType == 5)
|
||||
(window.$gz.store.state.userType == 4 ||
|
||||
window.$gz.store.state.userType == 5)
|
||||
) {
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
|
||||
Reference in New Issue
Block a user