Your Name преди 3 години
родител
ревизия
38cd5e47aa

+ 2
- 2
config/proxy.js Целия файл

@@ -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://xlj.newlandsh.com/',
13
+      // target: 'https://xlj.newlandsh.com/',
14 14
       changeOrigin: true,
15 15
       pathRewrite: {
16 16
         '^': '',

+ 1
- 1
src/pages/customer/Customer/PrivateCustomer/CustomerDetail.jsx Целия файл

@@ -243,7 +243,7 @@ function CustomerDetail(props) {
243 243
         <p className={styles.tableName}>访问记录</p>
244 244
         <BuildSelect onChange={changBuilding} value={buildingIdValue} />
245 245
         <Table
246
-          dataSource={records}
246
+          // dataSource={records}
247 247
           columns={columns}
248 248
           key='recordId'
249 249
           style={{ marginTop: '15px' }}

+ 1
- 1
src/pages/customer/Customer/PublicCustomer/publicCustomerDetail.jsx Целия файл

@@ -217,7 +217,7 @@ function header(props) {
217 217
         <p className={publicStyle.tableName}>访问记录</p>
218 218
         <BuildSelect onChange={changBuilding} value={buildingIdValue} />
219 219
         <Table
220
-          dataSource={records}
220
+          // dataSource={records}
221 221
           columns={columns}
222 222
           style={{ marginTop: '15px' }}
223 223
           pagination={{ pageSize: 10, total: records?.length, onChange }}