修改积分计算

This commit is contained in:
2025-12-25 19:03:44 +08:00
parent eeadcb382f
commit 55207667b0
13 changed files with 758 additions and 587 deletions

View File

@@ -269,6 +269,9 @@ export const useCartStore = defineStore("cart", {
*/
async getOrder() {
console.log("获取历史订单数据");
if(!this.order.id){
return
}
const res = await orderApi.getOrderById({ orderId: this.order.id });
if (res) {
this.setOrder(res);