diff --git a/README.md b/README.md index 5e93107..c7af726 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ ### 立即体验VForm 3 [在线Demo](http://120.92.142.115:81/vform3/) + ### 立即体验VForm 3 Pro高级版(提供商业支持) + [VForm 3 Pro Demo](http://120.92.142.115:81/vform3pro/) + ### 适合Vue 2的版本看这里 [点此查看](https://gitee.com/vdpadmin/variant-form) @@ -162,6 +165,8 @@ Gitee仓库:https://www.vform666.com/changelog.html +订阅Pro版:https://www.vform666.com/pages/pro/ + 技术交流群:扫如下二维码加群 ![image](https://vform2022.ks3-cn-beijing.ksyuncs.com/vchat_qrcode.png) diff --git a/src/utils/sfc-generator.js b/src/utils/sfc-generator.js index 87eaf19..d6d33bf 100644 --- a/src/utils/sfc-generator.js +++ b/src/utils/sfc-generator.js @@ -210,7 +210,7 @@ function buildCheckboxChildren(widget, formConfig) { function buildSelectChildren(widget, formConfig) { let wop = widget.options const childTag = 'el-option' - return `<${childTag} v-for="(item, index) in ${wop.name}Options" :key="index" :label="item.value" + return `<${childTag} v-for="(item, index) in ${wop.name}Options" :key="index" :label="item.label" :value="item.value" :disabled="item.disabled">` }