zlisen 3 lat temu
rodzic
commit
5521e180fa

+ 2
- 2
config/proxy.js Wyświetl plik

@@ -8,9 +8,9 @@
8 8
 export default {
9 9
   dev: {
10 10
     '/api/': {
11
-      // target: 'https://xlk.njyz.tech/',
11
+      target: 'https://xlk.njyz.tech/',
12 12
       // target: 'http://localhost:8081/',
13
-      target: 'https://www.newhousehold.cn',
13
+      // target: 'https://www.newhousehold.cn',
14 14
       changeOrigin: true,
15 15
       pathRewrite: {
16 16
         '^': '',

+ 2
- 0
src/pages/customer/Customer/PrivateCustomer/CustomerDetail.jsx Wyświetl plik

@@ -94,6 +94,8 @@ function CustomerDetail(props) {
94 94
       dataIndex: 'activity',
95 95
       key: 'activity',
96 96
       align: 'center',
97
+      render: (_, record) => <span> {record.buildingName||record.activityName||record.activity}</span>,
98
+      
97 99
     },
98 100
     // {
99 101
     //   title: '访问内容',

+ 1
- 0
src/pages/customer/Customer/PublicCustomer/publicCustomerDetail.jsx Wyświetl plik

@@ -95,6 +95,7 @@ function header(props) {
95 95
       dataIndex: 'activity',
96 96
       key: 'activity',
97 97
       align: 'center',
98
+      render: (_, record) => <span> {record.buildingName||record.activityName||record.activity}</span>,
98 99
     },
99 100
     // {
100 101
     //   title: '访问内容',