|
|
@ -92,7 +92,7 @@ export default { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
util.local.remove(Setting.storeKey); |
|
|
|
util.local.remove(Setting.storeKey); |
|
|
|
util.local.remove(Setting.tokenKey); |
|
|
|
util.local.remove(Setting.tokenKey); |
|
|
|
if (state.fromClient) { |
|
|
|
if (util.cookies.get('serverLogin')) { |
|
|
|
util.cookies.remove('serverLogin') |
|
|
|
util.cookies.remove('serverLogin') |
|
|
|
location.href = Setting.isDev |
|
|
|
location.href = Setting.isDev |
|
|
|
? `http://192.168.31.125:8082/#/` |
|
|
|
? `http://192.168.31.125:8082/#/` |
|
|
|