/**
 * store 状态管理
 * @copyright 火星科技 mars3d.cn
 * @author 火星渣渣灰 2022-02-19
 */
/*
 * @Author: 滕嵩
 * @Date: 2024-01-24 14:09:37
 * @LastEditors: 滕嵩
 * @LastEditTime: 2024-01-25 10:53:31
 * @FilePath: \vue-vben-admin\src\mars\common\store\test.ts
 * @Description:
 */
import { defineStore } from "pinia"
import { InjectionKey } from "vue"

export interface Test {
  count?: number
}

export const key: InjectionKey<Test> = Symbol("test")

export const store = defineStore({
  id: "marsTest",
  state: (): Test => ({
    count: 0,
  }),
})
