@dayan_hjm 2 év óta
szülő
commit
4f4b45680f
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      src/pages/jurisDiction/view.jsx

+ 2 - 1
src/pages/jurisDiction/view.jsx

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