Compare View

switch
from
...
to
 
Commits (2)
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', {
... ...