Commit 2525b3f4ef0d76206910fe8f04d43fb9e789c68d

Authored by chenhaodong
2 parents c4e6815c f0de3cc7

Merge branch '2.0'

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/components/modal/confirm.js
... ... @@ -109,7 +109,8 @@ Modal.newInstance = properties => {
109 109 on: {
110 110 input: (status) => {
111 111 this.visible = status;
112   - }
  112 + },
  113 + 'on-cancel': this.cancel
113 114 }
114 115 }, [
115 116 h('div', {
... ...