15 lines
274 B
TypeScript
15 lines
274 B
TypeScript
import { defineStore } from 'pinia'
|
|
|
|
export const useStyleStore = defineStore('style', {
|
|
state: () => {
|
|
return {
|
|
isPage: true,
|
|
}
|
|
},
|
|
actions: {
|
|
setIsPage(isPage: boolean) {
|
|
this.isPage = isPage
|
|
},
|
|
},
|
|
})
|