From 17def51dea9c609bfd8eaecffad7aeedd8e63a97 Mon Sep 17 00:00:00 2001 From: Dustin Jiang Date: Mon, 11 Mar 2024 10:05:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=E4=BF=AE=E5=A4=8D=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E7=82=B9=E5=87=BB=E5=85=B3=E9=97=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 7 ------- src/components/ImageViewer/ImageModal.vue | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/components.d.ts b/components.d.ts index 768ae20..1c87af5 100644 --- a/components.d.ts +++ b/components.d.ts @@ -16,13 +16,10 @@ declare module 'vue' { ImageViewer: typeof import('./src/components/ImageViewer/ImageViewer.vue')['default'] MessageContent: typeof import('./src/components/MessageContent.vue')['default'] NA: typeof import('naive-ui')['NA'] - NAlert: typeof import('naive-ui')['NAlert'] NBadge: typeof import('naive-ui')['NBadge'] NButton: typeof import('naive-ui')['NButton'] NCard: typeof import('naive-ui')['NCard'] NCarousel: typeof import('naive-ui')['NCarousel'] - NCollapse: typeof import('naive-ui')['NCollapse'] - NCollapseItem: typeof import('naive-ui')['NCollapseItem'] NConfigProvider: typeof import('naive-ui')['NConfigProvider'] NDivider: typeof import('naive-ui')['NDivider'] NDrawer: typeof import('naive-ui')['NDrawer'] @@ -32,9 +29,6 @@ declare module 'vue' { NElement: typeof import('naive-ui')['NElement'] NEllipsis: typeof import('naive-ui')['NEllipsis'] NEmpty: typeof import('naive-ui')['NEmpty'] - NForm: typeof import('naive-ui')['NForm'] - NFormItem: typeof import('naive-ui')['NFormItem'] - NFormItemGi: typeof import('naive-ui')['NFormItemGi'] NGi: typeof import('naive-ui')['NGi'] NGlobalStyle: typeof import('naive-ui')['NGlobalStyle'] NGrid: typeof import('naive-ui')['NGrid'] @@ -52,7 +46,6 @@ declare module 'vue' { NModal: typeof import('naive-ui')['NModal'] NPopconfirm: typeof import('naive-ui')['NPopconfirm'] NRadio: typeof import('naive-ui')['NRadio'] - NRadioButton: typeof import('naive-ui')['NRadioButton'] NRadioGroup: typeof import('naive-ui')['NRadioGroup'] NRate: typeof import('naive-ui')['NRate'] NScrollbar: typeof import('naive-ui')['NScrollbar'] diff --git a/src/components/ImageViewer/ImageModal.vue b/src/components/ImageViewer/ImageModal.vue index a99d8ec..ae2e42c 100644 --- a/src/components/ImageViewer/ImageModal.vue +++ b/src/components/ImageViewer/ImageModal.vue @@ -284,7 +284,7 @@ onUpdated(() => { + @error="() => { loadError = true; load = true }" @load="() => load = true" @click.stop/>