Browse Source

channel name

zhoulisen 5 years ago
parent
commit
032ec9db2f
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      src/pages/channel/brokerList.jsx
  2. 1
    1
      src/pages/channel/independentList/index.jsx

+ 1
- 0
src/pages/channel/brokerList.jsx View File

@@ -43,6 +43,7 @@ const columns = [
43 43
     dataIndex: 'nickname',
44 44
     key: 'nickname',
45 45
     align: 'center',
46
+    render: (text, list) => <><span>{ list.name || list.nickname }</span></>,
46 47
   },
47 48
   {
48 49
     title: '电话',

+ 1
- 1
src/pages/channel/independentList/index.jsx View File

@@ -392,7 +392,7 @@ function body(props) {
392 392
       title: '姓名',
393 393
       dataIndex: 'nickname',
394 394
       key: 'nickname',
395
-      render: (_, record) => <><span>{ record.nickname || record.name }</span></>,
395
+      render: (_, record) => <><span>{ record.name || record.nickname }</span></>,
396 396
     },
397 397
     {
398 398
       title: '电话',