瀏覽代碼

线上问题

傅行帆 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>