feat: 更换应用框架为ElectronFofge

This commit is contained in:
duanshuwen committed 2025-10-12 14:12:29 +08:00
1 parent 02b85f3251
commit ebac04b786
67 files changed
+7935 -6104

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import { defineStore } from 'pinia'
import { ref, computed } from 'vue'
export const useCounterStore = defineStore('counter', () => {
const count = ref(0)
const doubleCount = computed(() => count.value * 2)
function increment() {
count.value++
}
function decrement() {
count.value--
}
function reset() {
count.value = 0
}
return { count, doubleCount, increment, decrement, reset }
})