From 6b8bb153d117f706850d56f57453a89327e14c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=80=E9=9D=99=E5=87=A1?= <30424139+wtto00@users.noreply.github.com> Date: Thu, 3 Nov 2022 06:38:08 +0800 Subject: [PATCH] =?UTF-8?q?varlet-ui=E7=BB=84=E4=BB=B6=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=A0=B7=E5=BC=8F=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?ImagePreview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://varlet.gitee.io/varlet-ui/#/zh-CN/image-preview --- src/core/resolvers/varlet-ui.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/resolvers/varlet-ui.ts b/src/core/resolvers/varlet-ui.ts index 7d92e060..eb9f5621 100644 --- a/src/core/resolvers/varlet-ui.ts +++ b/src/core/resolvers/varlet-ui.ts @@ -42,7 +42,7 @@ export interface VarletUIResolverOptions { importLess?: boolean } -const varFunctions = ['Snackbar', 'Picker', 'ActionSheet', 'Dialog', 'Locale', 'StyleProvider'] +const varFunctions = ['ImagePreview', 'Snackbar', 'Picker', 'ActionSheet', 'Dialog', 'Locale', 'StyleProvider'] const varDirectives = ['Ripple', 'Lazy'] export function getResolved(name: string, options: VarletUIResolverOptions): ComponentResolveResult {