ext.zhangbin71 hai 1 mes
pai
achega
806bf9b789
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)) *