表单构建布局型组件新增按钮

This commit is contained in:
RuoYi
2020-10-03 17:47:24 +08:00
parent 0d79f10c2f
commit 669c42795a
4 changed files with 42 additions and 0 deletions

View File

@ -26,6 +26,11 @@ function vModel(self, dataObject, defaultValue) {
}
const componentChild = {
'el-button': {
default(h, conf, key) {
return conf[key]
},
},
'el-input': {
prepend(h, conf, key) {
return <template slot="prepend">{conf[key]}</template>