From ef5a083194fb676b6422faef9f3591f961f54873 Mon Sep 17 00:00:00 2001 From: anlyyao Date: Mon, 14 Oct 2024 20:39:51 +0800 Subject: [PATCH] fix(Cacader): fixed multiple issues --- .../__test__/__snapshots__/demo.test.jsx.snap | 712 ++++++++---------- .../__snapshots__/index.test.jsx.snap | 57 +- src/cascader/__test__/index.test.jsx | 21 +- src/cascader/cascader.en-US.md | 18 +- src/cascader/cascader.md | 39 +- src/cascader/cascader.tsx | 352 +++++++++ src/cascader/cascader.vue | 359 --------- src/cascader/index.ts | 2 +- src/cascader/props.ts | 16 +- src/cascader/type.ts | 20 +- .../__test__/__snapshots__/demo.test.jsx.snap | 171 ++--- 11 files changed, 821 insertions(+), 946 deletions(-) create mode 100644 src/cascader/cascader.tsx delete mode 100644 src/cascader/cascader.vue diff --git a/src/cascader/__test__/__snapshots__/demo.test.jsx.snap b/src/cascader/__test__/__snapshots__/demo.test.jsx.snap index 93e585d75..f73b8579c 100644 --- a/src/cascader/__test__/__snapshots__/demo.test.jsx.snap +++ b/src/cascader/__test__/__snapshots__/demo.test.jsx.snap @@ -56,14 +56,13 @@ exports[`Cascader > Cascader baseVue demo works fine 1`] = ` to="[object HTMLBodyElement]" >