周立森 5 年之前
父節點
當前提交
85f453306f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/pages/activity/ActivityList.jsx

+ 1
- 1
src/pages/activity/ActivityList.jsx 查看文件

@@ -133,7 +133,7 @@ const header = props => {
133 133
       render: (x, row) => (
134 134
         <>
135 135
           <AuthButton name="admin.SignList.get" noRight={null}>
136
-            <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={getSignList.bind(this, row.dynamicId)}>{row.isEnlist == '1' || row.isEnlist == '2' ? '报名记录' : ''}<Icon type="snippets" className={styles.shoppingCart} /></span>
136
+            <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={getSignList.bind(this, row.dynamicId)}>{row.isEnlist == '1' || row.isEnlist == '2' ? '报名记录' : ''}{ (row.isEnlist==1||row.isEnlist==2)  && <Icon type="snippets" className={styles.shoppingCart} />}</span>
137 137
           </AuthButton>
138 138
           <AuthButton name="admin.buildingDynamic.send.dynamicId.put" noRight={null}>
139 139
             {row.activityStatus != 0 && <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={sendOrPublicDynamic.bind(this, row)}>{row.status === 1 ? '取消发布' : '发布'}<Icon type="close-circle" className={styles.edit} /></span>}