panhui 3 lat temu
rodzic
commit
bed6cfcbf7
1 zmienionych plików z 3 dodań i 1 usunięć
  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
                         >
-                        <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>
                     </div>
                     <div class="box-item">