zhoulisen 5 年之前
父節點
當前提交
d77af77ad9
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      src/pages/qrcode/qrcodelist/table/index.jsx

+ 2
- 0
src/pages/qrcode/qrcodelist/table/index.jsx 查看文件

65
             title: '性别',
65
             title: '性别',
66
             dataIndex: 'sex',
66
             dataIndex: 'sex',
67
             key: 'sex',
67
             key: 'sex',
68
+            // eslint-disable-next-line no-nested-ternary
69
+            render: x => <><span>{x === 1 ? '男' : x === 2 ? '女' : '未知'}</span></>,
68
         },
70
         },
69
         {
71
         {
70
             title: '归属地',
72
             title: '归属地',