管道式消毒机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
451 B

import { defineStore } from 'pinia'
export const usePreStore = defineStore({
id: 'preinstall', // id必填,且需要唯一
// state
state: () => {
return {
currentPreId: '',
currentPreConfig: {},
}
},
// actions
actions: {
updateCurrentPreId(currentPreId) {
this.currentPreId = currentPreId
},
updateCurrentPreConfig(currentPreConfig) {
this.currentPreConfig = currentPreConfig
},
},
})