ext.zhangbin71 1 月之前
父節點
當前提交
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 } =
     props.attr.productSelect;
+	console.log("calcNumberPrice=======>",{ price, cart_num, additionalAmount, weight })
   // 计算总价并保留两位小数
   const total =
     (Number(price) * Number(weight) + Number(additionalAmount || 0)) *