panhui hace 3 años
padre
commit
bed6cfcbf7
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/components/rice/Task.vue

+ 3 - 1
src/components/rice/Task.vue

@@ -51,7 +51,9 @@
                         <van-button type="primary" round v-if="taskInfo.isCanExchangeScore" @click="exchange"
                         <van-button type="primary" round v-if="taskInfo.isCanExchangeScore" @click="exchange"
                             >兑换</van-button
                             >兑换</van-button
                         >
                         >
-                        <van-button type="primary" class="not" round v-else-if="selfScore">兑换</van-button>
+                        <van-button type="primary" class="not" round v-else-if="selfScore && selfScore >= 10"
+                            >兑换</van-button
+                        >
                         <van-button type="primary" round v-else @click="$router.push('/hopeMarket')">去看看</van-button>
                         <van-button type="primary" round v-else @click="$router.push('/hopeMarket')">去看看</van-button>
                     </div>
                     </div>
                     <div class="box-item">
                     <div class="box-item">