From 820bee626c74a5ee443374f1db19467df9ce4931 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Thu, 7 Mar 2019 22:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20md=20=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=EF=BC=8C=E5=92=8C=20demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/Dictionary/DictionaryValueSelect.md | 19 +++++++++++++++++++ .../pages/Dictionary/DictionaryValueText.md | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 admin-web/src/pages/Dictionary/DictionaryValueSelect.md create mode 100644 admin-web/src/pages/Dictionary/DictionaryValueText.md diff --git a/admin-web/src/pages/Dictionary/DictionaryValueSelect.md b/admin-web/src/pages/Dictionary/DictionaryValueSelect.md new file mode 100644 index 000000000..7fc9b9fad --- /dev/null +++ b/admin-web/src/pages/Dictionary/DictionaryValueSelect.md @@ -0,0 +1,19 @@ +--- +title: DictionaryValueSelect +subtitle: 字典 value 选择 +--- + +次组件跟使用 Antd extends Select,使用方法跟 Select 一样 + +## API + +### DescriptionList + +| 参数 | 说明 | 类型 | 默认值 | +|----------|------------------------------------------|-------------|-------| +| dataKey | 数据列表 | string | [] | + +### Demo +```jsx harmony + +``` diff --git a/admin-web/src/pages/Dictionary/DictionaryValueText.md b/admin-web/src/pages/Dictionary/DictionaryValueText.md new file mode 100644 index 000000000..c9d114ccb --- /dev/null +++ b/admin-web/src/pages/Dictionary/DictionaryValueText.md @@ -0,0 +1,19 @@ +--- +title: DictionaryValueText +subtitle: 获取字典 value 显示值 +--- + +## API + +### DescriptionList + +| 参数 | 说明 | 类型 | 默认值 | +|----------|------------------------------------------|-------------|-------| +| dataKey | key config配置的 | string | [] | +| value | 显示的值 | string number | [] | + + +### Demo +```jsx harmony + +```