From decad4f25dc199238e3bcf38311e9dfaaf0d209e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= <2270033969@qq.com> Date: Mon, 23 Sep 2024 14:15:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor(cache):=20=E4=BC=98=E5=8C=96=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E7=9B=91=E6=8E=A7=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto-imports.d.ts | 5 + package.json | 2 +- src/views/ext/cache.vue | 504 ++++++++++++++++++++++------------------ 3 files changed, 287 insertions(+), 224 deletions(-) diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 08e8c73f..87bc5e62 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -3,6 +3,7 @@ // @ts-nocheck // noinspection JSUnusedGlobalSymbols // Generated by unplugin-auto-import +// biome-ignore lint: disable export {} declare global { const EffectScope: typeof import('vue')['EffectScope'] @@ -46,6 +47,7 @@ declare global { const onServerPrefetch: typeof import('vue')['onServerPrefetch'] const onUnmounted: typeof import('vue')['onUnmounted'] const onUpdated: typeof import('vue')['onUpdated'] + const onWatcherCleanup: typeof import('vue')['onWatcherCleanup'] const provide: typeof import('vue')['provide'] const reactive: typeof import('vue')['reactive'] const readonly: typeof import('vue')['readonly'] @@ -67,10 +69,13 @@ declare global { const useAttrs: typeof import('vue')['useAttrs'] const useCssModule: typeof import('vue')['useCssModule'] const useCssVars: typeof import('vue')['useCssVars'] + const useId: typeof import('vue')['useId'] const useLink: typeof import('vue-router')['useLink'] + const useModel: typeof import('vue')['useModel'] const useRoute: typeof import('vue-router')['useRoute'] const useRouter: typeof import('vue-router')['useRouter'] const useSlots: typeof import('vue')['useSlots'] + const useTemplateRef: typeof import('vue')['useTemplateRef'] const watch: typeof import('vue')['watch'] const watchEffect: typeof import('vue')['watchEffect'] const watchPostEffect: typeof import('vue')['watchPostEffect'] diff --git a/package.json b/package.json index 59e13b66..8d52808c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pig-ui", - "version": "3.8.0", + "version": "3.8.1", "description": "PIGCLOUD微服务开发平台", "author": "pig4cloud", "license": "Apache-2.0", diff --git a/src/views/ext/cache.vue b/src/views/ext/cache.vue index a45ad86c..2659657b 100644 --- a/src/views/ext/cache.vue +++ b/src/views/ext/cache.vue @@ -1,135 +1,193 @@