修改积分计算
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user