Commit d85c66d36486835e7030647fdbd620689af4027c
1 parent
a01be639
优化
Showing
1 changed file
with
2 additions
and
1 deletions
src/pages/goodDetails/goodDetails.vue
| ... | ... | @@ -59,7 +59,7 @@ |
| 59 | 59 | <span class="left"></span>兑换规则<span class="right"></span> |
| 60 | 60 | </div> |
| 61 | 61 | <div class="good-desc"> |
| 62 | - <div v-if="goodsInfo && goodsInfo.shop_type && goodsInfo.shop_type == 1 || goodsInfo.shop_type == 2"> | |
| 62 | + <div v-if="goodsInfo && goodsInfo.shop_type && (goodsInfo.shop_type == 1 || goodsInfo.shop_type == 2)"> | |
| 63 | 63 | <div class="text-left"> |
| 64 | 64 | 兑换此积分即可0元购买该商品;<br> |
| 65 | 65 | 仅限此商品使用,兑换后7天内有效; |
| ... | ... | @@ -116,6 +116,7 @@ import columnListBox from "@/components/columnListBox/columnListBox"; |
| 116 | 116 | import addressToast from "@/components/addressToast/addressToast"; |
| 117 | 117 | import { Toast, Indicator } from "mint-ui"; |
| 118 | 118 | export default { |
| 119 | + name: 'goodDetails', | |
| 119 | 120 | data () { |
| 120 | 121 | return { |
| 121 | 122 | banner: null, | ... | ... |