feat: 快速预定交互调整

This commit is contained in:
duanshuwen committed 2025-10-27 21:19:09 +08:00
1 parent 895aa166dd
commit 4bd151d6d1
11 files changed
+235 -49

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
import { useAppStore } from "./app";
import { useSelectedDateStore } from "./selectedDate";
export { useAppStore };
export { useAppStore, useSelectedDateStore };
+17
View File
@@ -0,0 +1,17 @@
import { defineStore } from "pinia";
export const useSelectedDateStore = defineStore("selectedDate", {
state() {
return {
selectedDate: {},
};
},
actions: {
setData(data) {
this.selectedDate = data;
},
},
unistorage: true,
});