mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2025-06-21 09:35:58 +08:00
修复SFC生成的小bug。
This commit is contained in:
@ -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"></${childTag}>`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user