From d1f698caf9801650751f82658e439129f97b477d Mon Sep 17 00:00:00 2001 From: yangdan8 <13532023084@139.com> Date: Wed, 1 Nov 2017 15:12:12 +0800 Subject: [PATCH] =?UTF-8?q?Modal=E5=BC=B9=E7=AA=97=E8=AF=B7=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0on-visible-change=E7=BB=99=E5=A4=96=E9=83=A8api?= =?UTF-8?q?=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modal弹窗请添加on-visible-change给外部api访问 --- src/components/modal/modal.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index 1eaa6fa1..03392041 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -229,6 +229,7 @@ } } this.broadcast('Table', 'on-visible-change', val); + this.$emit('on-visible-change', val); }, loading (val) { if (!val) {