新增页面

This commit is contained in:
2024-02-05 22:22:37 +08:00
parent 2280c0518b
commit 2610f4e6f1
31 changed files with 1037 additions and 51 deletions

View File

@@ -0,0 +1,20 @@
import { defineStore } from 'pinia';
const useShoppingCartStore = defineStore('shoppingCart', {
state: () => ({
list: [],
total: 0,
count: 0
}),
getters: {
getList() {
return this.list;
},
getTotal() {
return this.total;
},
getCount() {
return this.count;
}
}
});