mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-05 21:28:43 +08:00
11 lines
375 B
Handlebars
11 lines
375 B
Handlebars
import { defineStore } from 'pinia'
|
|
import { {{upperDataName}}StoreType } from './{{name}}Store.d'
|
|
import { setLocalStorage, getLocalStorage } from '@/utils'
|
|
import { StorageEnum } from '@/enums/storageEnum'
|
|
|
|
export const use{{upperDataName}}StoreStore = defineStore({
|
|
id: 'use{{upperDataName}}Store',
|
|
state: (): {{name}}StoreType => ({}),
|
|
getters: {},
|
|
actions: {}
|
|
}) |