code4eat hace 2 años
padre
commit
177be79cac
Se han modificado 2 ficheros con 5 adiciones y 4 borrados
  1. 3 2
      src/app.tsx
  2. 2 2
      src/pages/index/index.tsx

+ 3 - 2
src/app.tsx

@@ -248,8 +248,8 @@ export const qiankun = fetch('/config').then(() => ({
     // },
     {
       name: 'budgetManaSystem', // 唯一 id
-      //entry: '//localhost:8001',
-      entry: '//120.27.235.181:5000/perform/',  //开发
+      entry: '//localhost:8001',
+      //entry: '//120.27.235.181:5000/perform/',  //开发
       //entry: '//47.96.149.190:5000/perform/', //演示
     },
     {
@@ -280,6 +280,7 @@ export function useQiankunStateForSlave() {
 
 //@/pages/platform/setting/reports/index
 export function patchRoutes({ routes }:{routes:any}) {
+  
   const paths = [...new Array(100).keys()].map((a,index)=>({
     path: `/platform/setting/reports/${15+(index+1)}`,
     exact: true,

+ 2 - 2
src/pages/index/index.tsx

@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2021-11-10 09:33:30
- * @LastEditTime: 2023-04-14 10:31:27
+ * @LastEditTime: 2023-04-14 10:59:12
  * @LastEditors: code4eat awesomedema@gmail.com
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: /KC-MiddlePlatform/src/pages/index.tsx
@@ -110,7 +110,7 @@ const IndexPage: React.FC<IndexPageType> = ({ location }) => {
       }
 
       if (needItem.length > 0) {
-        setspecialPageUrl(`http://eastern1.kcim-bi.163yun.com/dash/integration/56?rid=${needItem[0].value}&toolbar=[]&hideTitle=true&hideScaleBar=false&hidePageBar=false&token=${token}`);
+        setspecialPageUrl(`http://eastern1.kcim-bi.163yun.com/dash/integration/56?rid=${needItem[0].value}&toolbar=[]&hideTitle=true&hideScaleBar=false&&scale=width&hidePageBar=false&token=${token}`);
       }
     }
   }