feat: 续上,删除多余文件

This commit is contained in:
Burt
2024-01-24 11:01:47 +08:00
parent cfc8196295
commit a3de109d01
25 changed files with 0 additions and 352 deletions

View File

@@ -1,28 +0,0 @@
// src/store/useCountStore.ts
import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useCountStore = defineStore(
'count',
() => {
const count = ref(0)
const increment = () => {
count.value++
}
const decrement = () => {
count.value--
}
const reset = () => {
count.value = 0
}
return {
count,
decrement,
increment,
reset,
}
},
{
persist: true,
},
)

View File

@@ -16,4 +16,3 @@ export default store
// 模块统一导出
export * from './user'
export * from './count'