|
@@ -2,7 +2,7 @@
|
|
2
|
* @Author: dayan_hjm
|
2
|
* @Author: dayan_hjm
|
|
3
|
* @Date: 2023-11-07 14:21:24
|
3
|
* @Date: 2023-11-07 14:21:24
|
|
4
|
* @Last Modified by: dayan_hjm
|
4
|
* @Last Modified by: dayan_hjm
|
|
5
|
- * @Last Modified time: 2023-12-06 14:07:28
|
|
|
|
|
|
5
|
+ * @Last Modified time: 2024-04-11 09:50:11
|
|
6
|
*/
|
6
|
*/
|
|
7
|
|
7
|
|
|
8
|
import React, { useState, useEffect, Component } from "react";
|
8
|
import React, { useState, useEffect, Component } from "react";
|
|
@@ -33,9 +33,11 @@ class JrisDiction extends Component {
|
|
33
|
let searchInstance = queryToObj(); // url查询参数对象化
|
33
|
let searchInstance = queryToObj(); // url查询参数对象化
|
|
34
|
if(window.location.host.indexOf("localhost") > -1){
|
34
|
if(window.location.host.indexOf("localhost") > -1){
|
|
35
|
this.props.history.replace(searchInstance?.type == 1 ? "/home/operation" : "/home/gvc");
|
35
|
this.props.history.replace(searchInstance?.type == 1 ? "/home/operation" : "/home/gvc");
|
|
36
|
- }else if(searchInstance?.token){
|
|
|
|
|
|
36
|
+ }else
|
|
|
|
37
|
+ if(searchInstance?.token){
|
|
37
|
this.getUrl(searchInstance?.token);
|
38
|
this.getUrl(searchInstance?.token);
|
|
38
|
}else{
|
39
|
}else{
|
|
|
|
40
|
+ window.location = window.location.origin + '/transfer.html#/login';
|
|
39
|
this.setState({ showMsg: true })
|
41
|
this.setState({ showMsg: true })
|
|
40
|
}
|
42
|
}
|
|
41
|
|
43
|
|