微调
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user