dingxin пре 5 година
родитељ
комит
be70ac2cca
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1
    2
      src/pages/activity/ActivityList.jsx

+ 1
- 2
src/pages/activity/ActivityList.jsx Прегледај датотеку

@@ -129,12 +129,11 @@ const header = props => {
129 129
             <span style={{ color: '#1990FF', marginRight: '20px', cursor: 'pointer' }} onClick={topDynamic(row)}>{row.weight === 1 ? '取消置顶' : '置顶'}<Icon type="vertical-align-top" className={styles.edit} /></span>
130 130
             {row.isEnlist != 2 && <span style={{ color: '#FF925C', cursor: 'pointer' }} onClick={toEditGoods(row.dynamicId)}>编辑<Icon type="form" className={styles.edit} /></span>}
131 131
           </AuthButton>
132
-          <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={newQrcode.bind(this, row)}>下载二维码<Icon type="qrcode" className={styles.shoppingCart} /></span>
132
+          <span style={{ color: '#1990FF', cursor: 'pointer' }} onClick={newQrcode.bind(this, row)}>{row.isEnlist == '1' ? '下载二维码' : ''}<Icon type="qrcode" className={styles.shoppingCart} /></span>
133 133
         </>
134 134
       ),
135 135
     },
136 136
   ];
137
-
138 137
   const getSignList = dynamicId => {
139 138
     router.push({
140 139
       pathname: '/activity/SignList',