baozhangchao il y a 3 ans
Parent
révision
f92286b317
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      src/pages/staff/staff/list/index.jsx

+ 2
- 1
src/pages/staff/staff/list/index.jsx Voir le fichier

@@ -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: '绑定状态',