li.shaoyi 2 年之前
父節點
當前提交
2abca4ef49
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/packages/mobile/views/mine/order/detail/wrorder/index.vue

+ 1 - 1
src/packages/mobile/views/mine/order/detail/wrorder/index.vue

@@ -22,7 +22,7 @@
         </div>
         <template #footer>
             <div class="g-form__footer" v-if="detail">
-                <Button block v-if="detail.wrtradeorderstatus === (3 || 7)" round type="primary"
+                <Button block v-if="[3, 7].includes(detail.wrtradeorderstatus)" round type="primary"
                     @click="spotConfirmSubmit">撤销</Button>
             </div>
         </template>