傅行帆 пре 5 година
родитељ
комит
d8ea3a793a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/pages/staff/list/StaffList.jsx

+ 1
- 1
src/pages/staff/list/StaffList.jsx Прегледај датотеку

@@ -229,7 +229,7 @@ const header = props => {
229 229
       </AuthButton>
230 230
       <Row style={{ padding: ' 0 10px' }}>
231 231
         {
232
-          tempData.records.map((item, index) => (
232
+          tempData.records.filter(f => f.isAdmin != 1).map((item, index) => (
233 233
             <Col span={6}>
234 234
               <CartBody data={item} onFresh={() => getList({ pageNum: 1, pageSize: 8 })} key={item.userId} />
235 235
             </Col>