This commit is contained in:
caozehui
2024-12-31 19:03:52 +08:00
parent 081aeacff7
commit 5e8dda0b75
6 changed files with 306 additions and 360 deletions

View File

@@ -9,6 +9,7 @@ export const useCheckStore = defineStore("check", {
state: () => ({
devices: Array<CheckData.Device>(),
planId: String(""),
scriptId: String(""),
}),
getters: {},
@@ -24,6 +25,10 @@ export const useCheckStore = defineStore("check", {
setPlanId(planId: string) {
this.planId = planId
},
setScriptId(scriptId: string) {
this.scriptId = scriptId
}
}
});