From 3aa0ae336bbb2ff5c8732aadedce594cf75c066b Mon Sep 17 00:00:00 2001 From: Linzm <1015157648@qq.com> Date: Mon, 4 Aug 2025 09:23:52 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/components.d.ts b/components.d.ts index 109a968..ef24a60 100644 --- a/components.d.ts +++ b/components.d.ts @@ -21,6 +21,7 @@ declare module '@vue/runtime-core' { Tabbar: typeof import('./src/components/tabbar/index.vue')['default'] Tensorflow: typeof import('./src/components/arFrame/tensorflow.vue')['default'] VanActionSheet: typeof import('vant/es')['ActionSheet'] + VanAddressEdit: typeof import('vant/es')['AddressEdit'] VanDivider: typeof import('vant/es')['Divider'] VanField: typeof import('vant/es')['Field'] VanIcon: typeof import('vant/es')['Icon'] From 72ec02d5bda8735fd0a2e4cf1431f372da4a19ae Mon Sep 17 00:00:00 2001 From: Linzm <1015157648@qq.com> Date: Mon, 4 Aug 2025 09:26:29 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 7a319fc..d7fe9f6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,7 @@ "noUnusedLocals": true, "noImplicitAny": false, "skipLibCheck": true, - "importsNotUsedAsValues": "preserve" + "verbatimModuleSyntax": true }, "include": [ "src/App.vue", From 0e231374e97e83ef614e20efc787349c444126f5 Mon Sep 17 00:00:00 2001 From: Linzm <1015157648@qq.com> Date: Mon, 4 Aug 2025 14:56:20 +0800 Subject: [PATCH 3/4] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 1 - src/views/badge/index.vue | 4 +-- src/views/badge/preview.vue | 50 ++++++++++++++++++++++--------------- tsconfig.json | 2 +- 4 files changed, 33 insertions(+), 24 deletions(-) diff --git a/components.d.ts b/components.d.ts index ae92c0c..ef24a60 100644 --- a/components.d.ts +++ b/components.d.ts @@ -22,7 +22,6 @@ declare module '@vue/runtime-core' { Tensorflow: typeof import('./src/components/arFrame/tensorflow.vue')['default'] VanActionSheet: typeof import('vant/es')['ActionSheet'] VanAddressEdit: typeof import('vant/es')['AddressEdit'] - VanArea: typeof import('vant/es')['Area'] VanDivider: typeof import('vant/es')['Divider'] VanField: typeof import('vant/es')['Field'] VanIcon: typeof import('vant/es')['Icon'] diff --git a/src/views/badge/index.vue b/src/views/badge/index.vue index a2b9aee..a1779aa 100644 --- a/src/views/badge/index.vue +++ b/src/views/badge/index.vue @@ -110,10 +110,10 @@