Parcourir la source

Merge branch 'master' of http://git.ycjcjy.com/state_grid/invoice_fill_admin

张延森 il y a 2 ans
Parent
révision
2b84952447
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 3
    3
      config/proxy.js
  2. 1
    1
      src/components/PageTable/index.jsx

+ 3
- 3
config/proxy.js Voir le fichier

@@ -11,11 +11,11 @@ export default {
11 11
     // localhost:8000/api/** -> https://preview.pro.ant.design/api/**
12 12
     '/api/': {
13 13
       // 要代理的地址
14
-      target: 'http://192.168.89.147:7081',
14
+      target: 'http://192.168.89.25:7081',
15 15
       changeOrigin: true,
16 16
       headers: {
17
-        origin: 'http://192.168.89.147:7081',
18
-        referer: 'http://192.168.89.147:7081',
17
+        origin: 'http://192.168.89.25:7081',
18
+        referer: 'http://192.168.89.25:7081',
19 19
       },
20 20
     },
21 21
   },

+ 1
- 1
src/components/PageTable/index.jsx Voir le fichier

@@ -15,7 +15,7 @@ export default (props) => {
15 15
   // 导出函数需要使用的 params
16 16
   const exportParams = useRef()
17 17
   const handleBeforSearch = (params) => {
18
-    params.invoiceId=invoiceId||params.invoiceId||''
18
+    params.invoiceId=invoiceId||params.invoiceId||undefined
19 19
     if (typeof beforeSearchSubmit === 'function') {
20 20
       exportParams.current = beforeSearchSubmit(params);
21 21
     } else {