更换正式环境,测试修改

This commit is contained in:
GaoHao
2025-03-25 21:49:33 +08:00
parent f01bc839f7
commit 7fe5d028e4
71 changed files with 930 additions and 2016 deletions

View File

@@ -116,8 +116,6 @@
console.log(modal);
}
console.log(props.data);
const edmits = defineEmits(['clear', 'updateNumber'])
// mask
@@ -158,7 +156,6 @@
}
const allPrice = computed(() => {
console.log("购物车数据==",props.data)
return props.data.reduce((prve, cur) => {
let price = Math.floor((cur.lowPrice * cur.number)*100)/100
return prve + price
@@ -170,7 +167,6 @@
result = props.data.reduce((prve, cur) => {
return prve + cur.number
}, 0)
console.log(result)
result = result > 0 ? result.toFixed(2) : 0
return result >= 99 ? 99 : parseFloat(result)
})