refine performance code layout

This commit is contained in:
Cindy Chang
2024-06-06 15:16:43 +08:00
parent 9539237c3d
commit c0c455c55c
2 changed files with 80 additions and 20 deletions

View File

@@ -21,5 +21,19 @@ export default defineStore('conformanceDataStore', {
setConformanceData(userInputObj){
this.dataToSave = {...userInputObj};
},
/**
* Set the starting time of time range to be saved later
* @param {string} startStr
*/
setConformanceDataStart(startStr){
this.dataToSave.start = startStr;
},
/**
* Set the ending time of time range to be saved later
* @param {string} startStr
*/
setConformanceDataEnd(endStr){
this.dataToSave.end = endStr;
},
},
})