From 190357ded607b2be2c8ada4f9d8dafa72b57d170 Mon Sep 17 00:00:00 2001 From: "bansheng.lc" Date: Fri, 10 Jan 2020 12:01:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0Modal=E7=9A=84props?= =?UTF-8?q?=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/modal/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/modal/index.ts b/components/modal/index.ts index cd6edd1..4f0c487 100644 --- a/components/modal/index.ts +++ b/components/modal/index.ts @@ -1,10 +1,13 @@ Component({ props: { + show: false, className: '', topImageSize: 'md', showClose: true, closeType: '0', disableScroll: true, + onModalClick: () => {}, + onModalClose: () => {}, }, methods: { onModalClick() {