From f54058b0ece0d96d33b26735dfd08c0ed2c2151f Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:10:11 +0800 Subject: [PATCH] 1231 --- app/composables/counter.ts | 18 ------- app/pages/home/index.vue | 3 +- app/pages/profile/index.vue | 2 +- nuxt.config.js | 2 - package.json | 3 -- pnpm-lock.yaml | 99 ------------------------------------- 6 files changed, 2 insertions(+), 125 deletions(-) delete mode 100644 app/composables/counter.ts diff --git a/app/composables/counter.ts b/app/composables/counter.ts deleted file mode 100644 index 717add7..0000000 --- a/app/composables/counter.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defineStore } from 'pinia' - -const useCounter = defineStore('counter', () => { - const count = ref(0) - - function increment() { - count.value++ - } - - return { - count, - increment, - } -}, { - persist: true, -}) - -export default useCounter diff --git a/app/pages/home/index.vue b/app/pages/home/index.vue index a2879bf..e544441 100644 --- a/app/pages/home/index.vue +++ b/app/pages/home/index.vue @@ -114,7 +114,6 @@ const changeLive=()=>{