Explorar o código

首页抽屉中的页面动态获取token

mork hai 1 mes
pai
achega
ec2cf4a791
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      public/static/config/config.js
  2. 1 1
      src/views/HomePage.vue

+ 1 - 1
public/static/config/config.js

@@ -24,7 +24,7 @@ let systemConfig = {
     modelIds: [1667, 1690, 1677, 1673],
     columnIds: [1657, 1659, 1666, 1676, 1665, 1651, 1662],
 
-    iframeUrl: "https://aixq.shqp.gov.cn/kdyjs/",
+    iframeUrl: "http://10.235.245.174:2024/",
 
     // baseServicerPath: "/oneMap",
     baseServicerPath: "http://121.43.55.7:13901/qpyzt",

+ 1 - 1
src/views/HomePage.vue

@@ -657,7 +657,7 @@ export default {
       ],
       userTop: [
       ],
-      iframeUrl:systemConfig.iframeUrl,
+      iframeUrl:systemConfig.iframeUrl+"?token="+localStorage.getItem("token"),
       examplelist:systemConfig.examplelist,
 
       useCase: {