From fdfda6ba9a00ca59043f698943fc5d8480361261 Mon Sep 17 00:00:00 2001 From: rex Date: Sun, 3 Feb 2019 21:26:56 +0800 Subject: [PATCH] =?UTF-8?q?[improvement]=20Dialog:=20=E6=8F=90=E9=AB=98=20?= =?UTF-8?q?zIndex=20=E9=BB=98=E8=AE=A4=E5=80=BC=E4=B8=BA=202000?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复 #1201 --- packages/dialog/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dialog/index.ts b/packages/dialog/index.ts index ff75ba48..1e05a751 100644 --- a/packages/dialog/index.ts +++ b/packages/dialog/index.ts @@ -16,7 +16,7 @@ VantComponent({ confirmButtonOpenType: String, zIndex: { type: Number, - value: 100 + value: 2000 }, confirmButtonText: { type: String, @@ -96,7 +96,7 @@ VantComponent({ this.close(); } this.$emit('close', action); - + //把 dialog 实例传递出去,可以通过 stopLoading() 在外部关闭按钮的 loading this.$emit(action, { dialog: this });