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.
17 lines
347 B
17 lines
347 B
import { defineStore } from 'pinia'
|
|
export const useOperatorStore = defineStore({
|
|
id: 'operator', // id必填,且需要唯一
|
|
// state
|
|
state: () => {
|
|
return {
|
|
// 是否开始消毒
|
|
disinfectStatus: false,
|
|
}
|
|
},
|
|
// actions
|
|
actions: {
|
|
updateDisinfectStatus(val) {
|
|
this.disinfectStatus = val
|
|
},
|
|
},
|
|
})
|