会员修复

This commit is contained in:
2025-10-10 09:26:39 +08:00
parent e2dd540bb8
commit f0fee9085d
5 changed files with 529 additions and 442 deletions

View File

@@ -474,7 +474,9 @@
})
Object.assign(pointsRes, res)
maxPointDiscount.value = res.maxDeductionAmount
cartStore.setUserPoints(res.maxUsablePoints || 0)
if(usePoints.value){
cartStore.setUserPoints(res.maxUsablePoints || 0)
}
console.log('getMaxPointsDiscount:cartStore.orderCostSummary.pointUsed', cartStore.orderCostSummary.pointUsed);
}
watch(() => maxMoney.value, (newval) => {