ext.zhangbin71 1 tháng trước cách đây
mục cha
commit
806bf9b789
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      components/productWindow/index.vue

+ 1 - 0
components/productWindow/index.vue

@@ -217,6 +217,7 @@ const calcNumPrice = computed(() => {
 
   const { price, cart_num, additionalAmount, weight } =
     props.attr.productSelect;
+	console.log("calcNumberPrice=======>",{ price, cart_num, additionalAmount, weight })
   // 计算总价并保留两位小数
   const total =
     (Number(price) * Number(weight) + Number(additionalAmount || 0)) *