From 19e98490df5f0fc265cb0f922d81d87f205132a2 Mon Sep 17 00:00:00 2001 From: peerless_hero Date: Tue, 11 Jul 2023 04:04:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=89=94=E9=99=A4=E5=AE=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/auto-imports.d.ts | 22 ---------------------- vite.config.ts | 3 +-- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/types/auto-imports.d.ts b/types/auto-imports.d.ts index 53bca8d..deb4727 100644 --- a/types/auto-imports.d.ts +++ b/types/auto-imports.d.ts @@ -4,13 +4,6 @@ // Generated by unplugin-auto-import export {} declare global { - const $: typeof import('vue/macros')['$'] - const $$: typeof import('vue/macros')['$$'] - const $computed: typeof import('vue/macros')['$computed'] - const $customRef: typeof import('vue/macros')['$customRef'] - const $ref: typeof import('vue/macros')['$ref'] - const $shallowRef: typeof import('vue/macros')['$shallowRef'] - const $toRef: typeof import('vue/macros')['$toRef'] const EffectScope: typeof import('vue')['EffectScope'] const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] @@ -32,7 +25,6 @@ declare global { const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn'] const createVNode: typeof import('vue')['createVNode'] const customRef: typeof import('vue')['customRef'] - const dayjs: typeof import('element-plus')['dayjs'] const debouncedRef: typeof import('@vueuse/core')['debouncedRef'] const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch'] const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] @@ -322,13 +314,6 @@ declare global { import { UnwrapRef } from 'vue' declare module 'vue' { interface ComponentCustomProperties { - readonly $$: UnwrapRef - readonly $: UnwrapRef - readonly $computed: UnwrapRef - readonly $customRef: UnwrapRef - readonly $ref: UnwrapRef - readonly $shallowRef: UnwrapRef - readonly $toRef: UnwrapRef readonly EffectScope: UnwrapRef readonly asyncComputed: UnwrapRef readonly autoResetRef: UnwrapRef @@ -633,13 +618,6 @@ declare module 'vue' { } declare module '@vue/runtime-core' { interface ComponentCustomProperties { - readonly $$: UnwrapRef - readonly $: UnwrapRef - readonly $computed: UnwrapRef - readonly $customRef: UnwrapRef - readonly $ref: UnwrapRef - readonly $shallowRef: UnwrapRef - readonly $toRef: UnwrapRef readonly EffectScope: UnwrapRef readonly asyncComputed: UnwrapRef readonly autoResetRef: UnwrapRef diff --git a/vite.config.ts b/vite.config.ts index 4b8e719..db97233 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,7 +2,7 @@ * @Author: zhaojinfeng 121016171@qq.com * @Date: 2023-06-15 13:22:04 * @LastEditors: peerless_hero peerless_hero@outlook.com - * @LastEditTime: 2023-07-09 22:25:44 + * @LastEditTime: 2023-07-11 02:55:29 * @FilePath: \uni\vite.config.ts * @Description: * @@ -57,7 +57,6 @@ export default defineConfig({ dts: 'types/auto-imports.d.ts', imports: [ 'vue', - 'vue/macros', 'vue-router', 'uni-app', '@vueuse/core',