From f0de3cc7a99ae59a8faaa1d00952f981d22db420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Wed, 20 Mar 2019 14:35:29 +0800 Subject: [PATCH] ref #5452 --- src/components/modal/confirm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/modal/confirm.js b/src/components/modal/confirm.js index dbb525bb..5be583d6 100644 --- a/src/components/modal/confirm.js +++ b/src/components/modal/confirm.js @@ -109,7 +109,8 @@ Modal.newInstance = properties => { on: { input: (status) => { this.visible = status; - } + }, + 'on-cancel': this.cancel } }, [ h('div', {