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
333 B

import { defineStore } from 'pinia'
export interface ScreenState {
screening: boolean
}
export const useScreenStore = defineStore('screen', {
state: (): ScreenState => ({
screening: false, // 是否进入放映状态
}),
actions: {
setScreening(screening: boolean) {
this.screening = screening
},
},
})