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

This commit is contained in:
RuoYi
2020-10-13 17:37:12 +08:00
committed by 疯狂的狮子li
parent d72a8faf9a
commit a860265882
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>