ext.zhangbin71 1 месяц назад
Родитель
Сommit
806bf9b789
1 измененных файлов с 1 добавлено и 0 удалено
  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 } =
   const { price, cart_num, additionalAmount, weight } =
     props.attr.productSelect;
     props.attr.productSelect;
+	console.log("calcNumberPrice=======>",{ price, cart_num, additionalAmount, weight })
   // 计算总价并保留两位小数
   // 计算总价并保留两位小数
   const total =
   const total =
     (Number(price) * Number(weight) + Number(additionalAmount || 0)) *
     (Number(price) * Number(weight) + Number(additionalAmount || 0)) *