baozhangchao 3 年之前
父節點
當前提交
f92286b317
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      src/pages/staff/staff/list/index.jsx

+ 2
- 1
src/pages/staff/staff/list/index.jsx 查看文件

@@ -175,7 +175,8 @@ export default props => {
175 175
       dataIndex: 'isConsultant',
176 176
       key: 'isConsultant',
177 177
       align: 'center',
178
-      render: text => (text === 1 ? '置业顾问' : '非置业顾问'),
178
+      //text===1 改===true 
179
+      render: text => (text === true ? '置业顾问' : '非置业顾问'),
179 180
     },
180 181
     {
181 182
       title: '绑定状态',