Преглед изворни кода

更新 'hichina-main-front-mobile-first/src/pages/ProductDetailPage.vue'

fxie пре 1 година
родитељ
комит
6366fb6807
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      hichina-main-front-mobile-first/src/pages/ProductDetailPage.vue

+ 1 - 1
hichina-main-front-mobile-first/src/pages/ProductDetailPage.vue

@@ -202,7 +202,7 @@
                 adultCount * adultUnitPrice +
                 childCount * childUnitPrice +
                 infantCount * infantUnitPrice +
-                (adultCount % 2 == 0 ? 0 : singleDiffPrice)
+                (adultCount % 2 == 0 ? 0 : 1*singleDiffPrice)
               }}
               <lable v-if="adultCount % 2 != 0 && singleDiffPrice > 0"
                 >(Include single room difference:{{ singleDiffPrice }})</lable