Commit bb276d45 authored by 邓晓峰's avatar 邓晓峰

fix: 修复退出登录

parent d68756c4
Pipeline #39143 passed with stages
in 22 minutes 34 seconds
/* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
const proxyURL = 'http://192.168.10.163:8666';
const proxyURL = 'https://work.panda-water.cn';
module.exports = {
assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './',
dev: {
......
......@@ -6320,9 +6320,9 @@
}
},
"@wisdom-utils/utils": {
"version": "0.0.61",
"resolved": "https://g.civnet.cn:4873/@wisdom-utils%2futils/-/utils-0.0.61.tgz",
"integrity": "sha512-DxnQrMnta776pZRWVrKmo3AN/lf8k20huwe3jwV8ch5AP5cSsrAxWIO45SnCQGul88ijlW1Yopfa/l2FO2NG3w==",
"version": "0.0.63",
"resolved": "https://g.civnet.cn:4873/@wisdom-utils%2futils/-/utils-0.0.63.tgz",
"integrity": "sha512-fdsvk7qjpZzmeBeWWGhJvHbiwf0E3adq7LsWP3nI487TDjE6AJ4Us0TSR8o1ih81lA5scYCnotKWCvC0EK5Dzw==",
"requires": {
"@ahooksjs/use-request": "^2.0.0",
"axios": "^0.21.1",
......@@ -104,7 +104,7 @@
"@wisdom-map/util": "^1.0.27-0",
"@wisdom-utils/components": "0.0.14",
"@wisdom-utils/runtime": "0.0.15",
"@wisdom-utils/utils": "0.0.61",
"@wisdom-utils/utils": "0.0.63",
"animate.css": "^4.1.1",
"antd": "^4.16.13",
"compression": "1.7.4",
......
......@@ -179,6 +179,10 @@ export function logout(data) {
});
window.globalConfig.token = null;
window.globalConfig.access_token = null;
window.globalConfig.apiGatewayDomain = window.location.origin;
window.globalConfig.baseURI = window.location.origin;
window.globalConfig.hasGateWay = false;
window.globalConfig.userInfo = null;
// window.globalConfig.hasGateWay = ;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment