Yansen 8 meses atrás
pai
commit
a7b71d6b5d
2 arquivos alterados com 9 adições e 3 exclusões
  1. 3
    3
      config/proxy.js
  2. 6
    0
      src/pages/invoiceDetail/index.jsx

+ 3
- 3
config/proxy.js Ver arquivo

@@ -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.25:7081',
14
+      target: 'http://127.0.0.1:7081',
15 15
       changeOrigin: true,
16 16
       headers: {
17
-        origin: 'http://192.168.89.25:7081',
18
-        referer: 'http://192.168.89.25:7081',
17
+        origin: 'http://127.0.0.1:7081',
18
+        referer: 'http://127.0.0.1:7081',
19 19
       },
20 20
     },
21 21
   },

+ 6
- 0
src/pages/invoiceDetail/index.jsx Ver arquivo

@@ -100,6 +100,12 @@ export default (props) => {
100 100
       key: 'mailPhone',
101 101
       search: false,
102 102
     },
103
+    {
104
+      title: '外网电子邮箱',
105
+      dataIndex: 'email',
106
+      key: 'email',
107
+      search: false,
108
+    },
103 109
     {
104 110
       title: '收件人地址',
105 111
       dataIndex: 'mailAddress',