mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-02 11:48:36 +08:00
11 lines
379 B
Handlebars
11 lines
379 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}}Store = defineStore({
|
|
id: 'use{{upperDataName}}Store',
|
|
state: (): {{upperDataName}}StoreType => ({}),
|
|
getters: {},
|
|
actions: {}
|
|
}) |