From ac3ddcfb41e0a5a0cebc9f17b3a594cdcef7a647 Mon Sep 17 00:00:00 2001 From: yinkaihui Date: Fri, 30 Dec 2022 18:57:16 +0800 Subject: [PATCH] feat: select supports prepend --- .../web-vue/components/select/README.en-US.md | 2 ++ .../web-vue/components/select/README.zh-CN.md | 2 ++ .../components/select/__demo__/label.md | 14 ++++++-- .../components/select/__demo__/prepend.md | 35 +++++++++++++++++++ packages/web-vue/components/select/select.tsx | 12 ++++++- .../components/select/style/index.less | 8 +++++ .../components/select/style/mixin.less | 16 +++++++++ 7 files changed, 85 insertions(+), 4 deletions(-) create mode 100644 packages/web-vue/components/select/__demo__/prepend.md create mode 100644 packages/web-vue/components/select/style/mixin.less diff --git a/packages/web-vue/components/select/README.en-US.md b/packages/web-vue/components/select/README.en-US.md index 196800b24..6058a5aaa 100644 --- a/packages/web-vue/components/select/README.en-US.md +++ b/packages/web-vue/components/select/README.en-US.md @@ -37,6 +37,8 @@ description: When users need to select one or more from a group of similar data, @import ./__demo__/label.md +@import ./__demo__/prepend.md + @import ./__demo__/linkage.md @import ./__demo__/field-names.md diff --git a/packages/web-vue/components/select/README.zh-CN.md b/packages/web-vue/components/select/README.zh-CN.md index 5928950b2..6a09fa622 100644 --- a/packages/web-vue/components/select/README.zh-CN.md +++ b/packages/web-vue/components/select/README.zh-CN.md @@ -35,6 +35,8 @@ description: 当用户需要从一组同类数据中选择一个或多个时, @import ./__demo__/label.md +@import ./__demo__/prepend.md + @import ./__demo__/linkage.md @import ./__demo__/field-names.md diff --git a/packages/web-vue/components/select/__demo__/label.md b/packages/web-vue/components/select/__demo__/label.md index f81a7f191..a65127132 100644 --- a/packages/web-vue/components/select/__demo__/label.md +++ b/packages/web-vue/components/select/__demo__/label.md @@ -18,9 +18,17 @@ The display content of the select box can be customized through the `#label` slo ```vue