From c646e43791ee0975b736f78dd7c13432b2779736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=20Cai?= Date: Mon, 16 Dec 2024 19:56:25 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9C=80=E5=A4=96=E4=BE=A7=E5=8C=85?= =?UTF-8?q?=E8=A3=B9=20`
`=20dom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__snapshots__/index.test.jsx.snap | 597 -------------- .../__snapshots__/index.test.jsx.snap | 167 ---- .../__test__/__snapshots__/demo.test.jsx.snap | 92 ++- .../__test__/__snapshots__/demo.test.jsx.snap | 760 +++++++++--------- src/search/search.tsx | 4 +- 5 files changed, 430 insertions(+), 1190 deletions(-) delete mode 100644 src/calendar/__test__/__snapshots__/index.test.jsx.snap delete mode 100644 src/cascader/__test__/__snapshots__/index.test.jsx.snap diff --git a/src/calendar/__test__/__snapshots__/index.test.jsx.snap b/src/calendar/__test__/__snapshots__/index.test.jsx.snap deleted file mode 100644 index 4111e78f3..000000000 --- a/src/calendar/__test__/__snapshots__/index.test.jsx.snap +++ /dev/null @@ -1,597 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`calendar > props > : format 1`] = ` -
- -
- -
-
- - -
-
- 请选择日期 -
- - - -
- -
- 日 -
-
- 一 -
-
- 二 -
-
- 三 -
-
- 四 -
-
- 五 -
-
- 六 -
- -
-
- - -
- 2022 年 1 月 -
-
- -
-
-
-
-
-
- - - -
- - - 1 -
- ¥60 -
- -
- - -
- - - 2 -
- ¥60 -
- -
- - -
- - - 3 -
- ¥60 -
- -
- - -
- - - 4 -
- ¥60 -
- -
- - -
- - - 5 -
- ¥60 -
- -
- - -
- - - 6 -
- ¥60 -
- -
- - -
- - - 7 -
- ¥60 -
- -
- - -
- - - 8 -
- ¥60 -
- -
- - -
- - - 9 -
- ¥60 -
- -
- - -
- - - 10 -
- ¥60 -
- -
- - -
- - - 11 -
- ¥60 -
- -
- - -
- - - 12 -
- ¥60 -
- -
- - -
- - - 13 -
- ¥60 -
- -
- - -
- - - 14 -
- ¥60 -
- -
- - -
- - - 15 -
- ¥60 -
- -
- - -
- - - 16 -
- ¥60 -
- -
- - -
- - - 17 -
- ¥60 -
- -
- - -
- - - 18 -
- ¥60 -
- -
- - -
- - - 19 -
- ¥60 -
- -
- - -
- - - 20 -
- ¥60 -
- -
- - -
- - - 21 -
- ¥60 -
- -
- - -
- - - 22 -
- ¥60 -
- -
- - -
- - - 23 -
- ¥60 -
- -
- - -
- - - 24 -
- ¥60 -
- -
- - -
- - - 25 -
- ¥60 -
- -
- - -
- - - 26 -
- ¥60 -
- -
- - -
- - - 27 -
- ¥60 -
- -
- - -
- - - 28 -
- ¥60 -
- -
- - -
- - - 29 -
- ¥60 -
- -
- - -
- - - 30 -
- ¥60 -
- -
- - -
- - - 31 -
- ¥60 -
- -
- - -
- - -
- -
- -
- -
-`; diff --git a/src/cascader/__test__/__snapshots__/index.test.jsx.snap b/src/cascader/__test__/__snapshots__/index.test.jsx.snap deleted file mode 100644 index fc5970ee9..000000000 --- a/src/cascader/__test__/__snapshots__/index.test.jsx.snap +++ /dev/null @@ -1,167 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`cascader > events > : pick 1`] = ` - - - - -
diff --git a/src/search/__test__/__snapshots__/demo.test.jsx.snap b/src/search/__test__/__snapshots__/demo.test.jsx.snap index 8930a8d9e..71d95fc9e 100644 --- a/src/search/__test__/__snapshots__/demo.test.jsx.snap +++ b/src/search/__test__/__snapshots__/demo.test.jsx.snap @@ -4,50 +4,7 @@ exports[`Search > Search actionVue demo works fine 1`] = ` -`; - -exports[`Search > Search baseVue demo works fine 1`] = ` -
- - +`; + +exports[`Search > Search baseVue demo works fine 1`] = ` +
+ +
@@ -128,74 +128,74 @@ exports[`Search > Search maxLengthVue demo works fine 1`] = `
@@ -240,74 +240,74 @@ exports[`Search > Search mobileVue demo works fine 1`] = ` @@ -334,74 +334,74 @@ exports[`Search > Search mobileVue demo works fine 1`] = ` @@ -427,38 +427,38 @@ exports[`Search > Search mobileVue demo works fine 1`] = `
@@ -488,74 +488,74 @@ exports[`Search > Search mobileVue demo works fine 1`] = ` @@ -585,38 +585,38 @@ exports[`Search > Search mobileVue demo works fine 1`] = `
@@ -628,50 +628,7 @@ exports[`Search > Search otherVue demo works fine 1`] = ` -`; - -exports[`Search > Search shapeVue demo works fine 1`] = ` -
- - +`; + +exports[`Search > Search shapeVue demo works fine 1`] = ` +
+ +
diff --git a/src/search/search.tsx b/src/search/search.tsx index 964920f97..5ef488179 100644 --- a/src/search/search.tsx +++ b/src/search/search.tsx @@ -169,7 +169,7 @@ export default defineComponent({ }; return ( - <> +
{readerLeftIcon()} @@ -198,7 +198,7 @@ export default defineComponent({ {props.resultList.map((item, index) => listNodes({ item, index }))}
)} - +
); }; },