From 969dadb2652bbafe5a05ba303f92199dde579068 Mon Sep 17 00:00:00 2001 From: Cherry7 <79909910+CCherry07@users.noreply.github.com> Date: Fri, 18 Aug 2023 11:10:44 +0800 Subject: [PATCH] fix: image height (#6840), close #6836 * fix: image height * test: update snap --- .../__tests__/__snapshots__/demo.test.js.snap | 18 +++++++++--------- components/vc-image/src/Image.tsx | 4 +++- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/components/image/__tests__/__snapshots__/demo.test.js.snap b/components/image/__tests__/__snapshots__/demo.test.js.snap index 49402f590..976de1075 100644 --- a/components/image/__tests__/__snapshots__/demo.test.js.snap +++ b/components/image/__tests__/__snapshots__/demo.test.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders ./components/image/demo/basic.vue correctly 1`] = ` -
+
Preview
@@ -13,7 +13,7 @@ exports[`renders ./components/image/demo/controlled-preview.vue correctly 1`] =
-
+
Preview
@@ -24,7 +24,7 @@ exports[`renders ./components/image/demo/controlled-preview.vue correctly 1`] = `; exports[`renders ./components/image/demo/fallback.vue correctly 1`] = ` -
+
Preview
@@ -35,9 +35,9 @@ exports[`renders ./components/image/demo/fallback.vue correctly 1`] = ` exports[`renders ./components/image/demo/placeholder.vue correctly 1`] = `
-
+