diff --git a/.all-contributorsrc b/.all-contributorsrc index 83d036d..6a059c4 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -97,6 +97,15 @@ "contributions": [ "bug" ] + }, + { + "login": "chengaopan", + "name": "chengaopan", + "avatar_url": "https://avatars.githubusercontent.com/u/18641281?v=4", + "profile": "https://github.com/chengaopan", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/README-zh.md b/README-zh.md index b9171fd..b288b08 100644 --- a/README-zh.md +++ b/README-zh.md @@ -61,6 +61,7 @@ el-data-table、el-data-tree 等组件内部集成该组件,用于更加灵活 ## Links +- [钉钉交流群](https://github.com/FEMessage/el-data-table/issues/181) - [api doc and online demo](https://femessage.github.io/el-form-renderer/) - [自定义组件接入指南](https://github.com/femessage/el-form-renderer/blob/master/docs/guide-custom-component.md) - [自定义组件设置校验规则](https://github.com/FEMessage/el-form-renderer/blob/master/docs/guide-custom-rules-in-custom-component.md) diff --git a/README.md b/README.md index dbf5a97..bc25d1d 100644 --- a/README.md +++ b/README.md @@ -103,8 +103,26 @@ Please refer to our [contributing guide](https://github.com/FEMessage/.github/bl Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): - -
Alvin
Alvin

💻 👀 🐛 📝 🤔
levy
levy

👀 🚇 🤔 🚧
EVILLT
EVILLT

💻 🐛 📝 🤔
Donald Shen
Donald Shen

💻 📖 💡 📝
ColMugX
ColMugX

💻 ⚠️ 📖
OuZuYu
OuZuYu

🐛
Han
Han

💻 📖
yolofit
yolofit

🐛
+ + + + + + + + + + + + + + + + +

Alvin

💻 👀 🐛 📝 🤔

levy

👀 🚇 🤔 🚧

EVILLT

💻 🐛 📝 🤔

Donald Shen

💻 📖 💡 📝

ColMugX

💻 ⚠️ 📖

OuZuYu

🐛

Han

💻 📖

yolofit

🐛

chengaopan

💻
+ + + diff --git a/docs/checkbox-group.md b/docs/checkbox-group.md index f611cc7..51ab1ba 100644 --- a/docs/checkbox-group.md +++ b/docs/checkbox-group.md @@ -12,6 +12,10 @@ export default { { id: 'city', type: 'checkbox-group', + /** + * sytle 属性是为了满足 el-checkbox-button属性而设置,如果不需要使用el-radio-button这可不设置 + */ + style: 'button', label: 'city', default: ['new york'], options: [ diff --git a/docs/radio-group.md b/docs/radio-group.md index 3a3e662..9a97b13 100644 --- a/docs/radio-group.md +++ b/docs/radio-group.md @@ -13,6 +13,10 @@ export default { id: 'city', type: 'radio-group', label: 'city', + /** + * sytle 属性是为了满足 el-radio-button属性而设置,如果不需要使用el-radio-button这可不设置 + */ + style: 'button', default: 'new york', options: [ /** diff --git a/src/components/render-form-item.vue b/src/components/render-form-item.vue index 09ac0b3..b801e76 100644 --- a/src/components/render-form-item.vue +++ b/src/components/render-form-item.vue @@ -45,9 +45,17 @@ :key="optionKey(opt) || index" v-bind="opt" /> - + + {{ opt.label }} + + + {{ opt.label }} +