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 + +```