代客下单修改,问题修复

This commit is contained in:
2025-11-18 14:55:26 +08:00
parent 67ec915181
commit 93273b796f
17 changed files with 174 additions and 117 deletions

15
stores/cart.js Normal file
View File

@@ -0,0 +1,15 @@
// stores/counter.js
import { defineStore } from 'pinia';
export const useCounterStore = defineStore('cart', {
state: () => {
return {
selCoupon: [],
};
},
actions: {
setSelCoupon(coupon) {
this.selCoupon = coupon
},
},
});