浏览代码

修复了bug

周立森 5 年前
父节点
当前提交
e4d48288ed
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      src/pages/channel/InviteClients.jsx
  2. 1
    1
      src/pages/channel/brokerList.jsx

+ 1
- 1
src/pages/channel/InviteClients.jsx 查看文件

38
     dataIndex: 'sex',
38
     dataIndex: 'sex',
39
     key: 'sex',
39
     key: 'sex',
40
     align: 'center',
40
     align: 'center',
41
-    render: (text, record) => <a style={ { color: '#66B3FF' } } >{ record.sex === 1 ? '男' : '女' }</a>,
41
+    render: (text, record) => <a style={ { color: '#66B3FF' } } >{ record.sex === 1 ? '男' : (record.sex === 2 ? '女':'') }</a>,
42
   },
42
   },
43
 ];
43
 ];
44
 const header = props => {
44
 const header = props => {

+ 1
- 1
src/pages/channel/brokerList.jsx 查看文件

172
       })(<Input/>)}
172
       })(<Input/>)}
173
     </Form.Item>
173
     </Form.Item>
174
     <Form.Item >
174
     <Form.Item >
175
-   <Button type="primary" htmlType="submit" >保存</Button>
175
+   <Button type="primary" htmlType="submit" >查询</Button>
176
      <Button onClick={handleReset} style={{ marginLeft: 18 }}>重置</Button>
176
      <Button onClick={handleReset} style={{ marginLeft: 18 }}>重置</Button>
177
     </Form.Item>
177
     </Form.Item>
178
    </Form>
178
    </Form>