Yansen 8 months ago
parent
commit
a7b71d6b5d
2 changed files with 9 additions and 3 deletions
  1. 3
    3
      config/proxy.js
  2. 6
    0
      src/pages/invoiceDetail/index.jsx

+ 3
- 3
config/proxy.js View File

11
     // localhost:8000/api/** -> https://preview.pro.ant.design/api/**
11
     // localhost:8000/api/** -> https://preview.pro.ant.design/api/**
12
     '/api/': {
12
     '/api/': {
13
       // 要代理的地址
13
       // 要代理的地址
14
-      target: 'http://192.168.89.25:7081',
14
+      target: 'http://127.0.0.1:7081',
15
       changeOrigin: true,
15
       changeOrigin: true,
16
       headers: {
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 View File

100
       key: 'mailPhone',
100
       key: 'mailPhone',
101
       search: false,
101
       search: false,
102
     },
102
     },
103
+    {
104
+      title: '外网电子邮箱',
105
+      dataIndex: 'email',
106
+      key: 'email',
107
+      search: false,
108
+    },
103
     {
109
     {
104
       title: '收件人地址',
110
       title: '收件人地址',
105
       dataIndex: 'mailAddress',
111
       dataIndex: 'mailAddress',