feat: 页面特性

This commit is contained in:
Burt
2024-01-08 21:24:39 +08:00
parent 7706e697aa
commit 3afb34bce5
15 changed files with 260 additions and 72 deletions

View File

@@ -9,9 +9,17 @@ export const useCountStore = defineStore(
const increment = () => {
count.value++
}
const decrement = () => {
count.value--
}
const reset = () => {
count.value = 0
}
return {
count,
decrement,
increment,
reset,
}
},
{