diff --git a/src/components/modal/confirm.js b/src/components/modal/confirm.js index e5681dd..edef2fc 100644 --- a/src/components/modal/confirm.js +++ b/src/components/modal/confirm.js @@ -96,14 +96,16 @@ Modal.newInstance = properties => { attrs: { class: `${prefixCls}-head` } - }, h('div', { - attrs: { - class: `${prefixCls}-head-title` - }, - domProps: { - innerHTML: this.title - } - })), + }, [ + h('div', { + attrs: { + class: `${prefixCls}-head-title` + }, + domProps: { + innerHTML: this.title + } + }) + ]), h('div', { attrs: { class: `${prefixCls}-body` -- libgit2 0.21.4