baozhangchao 3 vuotta sitten
vanhempi
commit
f92286b317
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      src/pages/staff/staff/list/index.jsx

+ 2
- 1
src/pages/staff/staff/list/index.jsx Näytä tiedosto

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