Commit bbbbb9fd authored by wildfirecode13's avatar wildfirecode13

111

parent 17f62246
...@@ -9,6 +9,6 @@ module.exports ={ ...@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1": 0.6, "IMAGE_Q1": 0.6,
"IMAGE_Q2": 0.8, "IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/", "RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1635147586072", "RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1635214937424",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1635147521517/js" "JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1635214939509/js"
} }
\ No newline at end of file
...@@ -26,7 +26,7 @@ class App extends Component { ...@@ -26,7 +26,7 @@ class App extends Component {
let activityId = CFG.projectId; let activityId = CFG.projectId;
let { cmbdata } = queryParams; let { cmbdata } = queryParams;
setTimeout(() => { setTimeout(() => {
console.error('queryParams', JSON.stringify(queryParams)); console.error('queryParams', JSON.stringify(queryParams));
console.error('cmbdata', decodeURIComponent(cmbdata)); console.error('cmbdata', decodeURIComponent(cmbdata));
...@@ -52,7 +52,7 @@ class App extends Component { ...@@ -52,7 +52,7 @@ class App extends Component {
setTimeout(() => { setTimeout(() => {
console.error('generateLoginUrlResult', generateLoginUrlResult) console.error('generateLoginUrlResult', generateLoginUrlResult)
}, 1000); }, 1000);
location.href = generateLoginUrlResult.data; location.replace(generateLoginUrlResult.data);
} else { } else {
//没有获取到code //没有获取到code
...@@ -69,7 +69,7 @@ class App extends Component { ...@@ -69,7 +69,7 @@ class App extends Component {
console.error('protocol', protocol) console.error('protocol', protocol)
}, 1000); }, 1000);
window.location.href = protocol; location.replace(protocol);
} }
} }
......
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