This commit is contained in:
caozehui
2024-12-24 11:29:31 +08:00
parent c241d8b819
commit 30c1f90513
6 changed files with 436 additions and 262 deletions

View File

@@ -7,7 +7,8 @@ export const useCheckStore = defineStore("check", {
id: CHECK_STORE_KEY,
state: () => ({
devices: Array<CheckData.Device>()
devices: Array<CheckData.Device>(),
planId: String(""),
}),
getters: {},
@@ -19,6 +20,10 @@ export const useCheckStore = defineStore("check", {
clearDevices() {
this.devices = [];
},
setPlanId(planId: string) {
this.planId = planId
}
}
});