From 5c23d97daf2a4a589398fae423f788e851901fca Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 25 Jan 2022 10:17:32 +0800 Subject: [PATCH] doc: add tree-select demo --- .../__tests__/__snapshots__/demo.test.js.snap | 11 +++ components/tree-select/demo/index.vue | 3 + components/tree-select/demo/replaceFields.vue | 78 +++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 components/tree-select/demo/replaceFields.vue diff --git a/components/tree-select/__tests__/__snapshots__/demo.test.js.snap b/components/tree-select/__tests__/__snapshots__/demo.test.js.snap index 15b470777..ed59dd8ad 100644 --- a/components/tree-select/__tests__/__snapshots__/demo.test.js.snap +++ b/components/tree-select/__tests__/__snapshots__/demo.test.js.snap @@ -88,6 +88,17 @@ exports[`renders ./components/tree-select/demo/multiple.vue correctly 1`] = ` `; +exports[`renders ./components/tree-select/demo/replaceFields.vue correctly 1`] = ` + +`; + exports[`renders ./components/tree-select/demo/suffix.vue correctly 1`] = `
diff --git a/components/tree-select/demo/index.vue b/components/tree-select/demo/index.vue index 4a3b57646..dd6177efe 100644 --- a/components/tree-select/demo/index.vue +++ b/components/tree-select/demo/index.vue @@ -10,6 +10,7 @@ +