dingxin преди 5 години
родител
ревизия
7d1e771eba
променени са 2 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 2
    2
      config/config.js
  2. 1
    0
      src/pages/channel/brokerList.jsx

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

@@ -166,7 +166,7 @@ export default {
166 166
                 },
167 167
                 {
168 168
                   path: '/customer/independentList',
169
-                  name: '经人',
169
+                  name: '经人',
170 170
                   component: './customer/independentList/index',
171 171
                 },
172 172
               ],
@@ -347,7 +347,7 @@ export default {
347 347
 
348 348
   proxy: {
349 349
     '/api/': {
350
-      target: 'http://192.168.0.84:8080/',
350
+      target: 'http://localhost:8080/',
351 351
       changeOrigin: true,
352 352
       // pathRewrite: { '^/server': '' },
353 353
     },

+ 1
- 0
src/pages/channel/brokerList.jsx Целия файл

@@ -70,6 +70,7 @@ const columns = [
70 70
     dataIndex: 'sex',
71 71
     key: 'sex',
72 72
     align: 'center',
73
+    render: (text, list) => <a style={ { color: '#66B3FF' } } >{ list.sex === 1 ? '男' : '女' }</a>,
73 74
   },
74 75
   {
75 76
     title: '推荐客户',