|
@@ -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-11-08 17:18:11
|
|
|
|
|
|
5
|
+ * @Last Modified time: 2023-11-21 18:07:33
|
|
6
|
*/
|
6
|
*/
|
|
7
|
|
7
|
|
|
8
|
import React, { useState, useEffect, Component } from "react";
|
8
|
import React, { useState, useEffect, Component } from "react";
|
|
@@ -47,6 +47,7 @@ class JrisDiction extends Component {
|
|
47
|
await checkToken(token).then(({ data, resultCode }) => {
|
47
|
await checkToken(token).then(({ data, resultCode }) => {
|
|
48
|
sessionStorage.setItem("tqcVToken",token)
|
48
|
sessionStorage.setItem("tqcVToken",token)
|
|
49
|
if (data?.userId) {
|
49
|
if (data?.userId) {
|
|
|
|
50
|
+ let searchInstance = queryToObj(); // url查询参数对象化
|
|
50
|
this.props.history.replace(searchInstance?.type == 1 ? "/home/operation" : "/home/gvc");
|
51
|
this.props.history.replace(searchInstance?.type == 1 ? "/home/operation" : "/home/gvc");
|
|
51
|
// this.props.history.push('/')
|
52
|
// this.props.history.push('/')
|
|
52
|
} else {
|
53
|
} else {
|