Commit 48e7799edf1a3d707f0ddc0ae7fb4205785fdf2b

Authored by Aresn
1 parent 77cf1cd5

update $Modal

Showing 1 changed file with 10 additions and 8 deletions   Show diff stats
src/components/modal/confirm.js
... ... @@ -96,14 +96,16 @@ Modal.newInstance = properties => {
96 96 attrs: {
97 97 class: `${prefixCls}-head`
98 98 }
99   - }, h('div', {
100   - attrs: {
101   - class: `${prefixCls}-head-title`
102   - },
103   - domProps: {
104   - innerHTML: this.title
105   - }
106   - })),
  99 + }, [
  100 + h('div', {
  101 + attrs: {
  102 + class: `${prefixCls}-head-title`
  103 + },
  104 + domProps: {
  105 + innerHTML: this.title
  106 + }
  107 + })
  108 + ]),
107 109 h('div', {
108 110 attrs: {
109 111 class: `${prefixCls}-body`
... ...