From 0073d66016ba1955c941512175d24ee7c35be3e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Thu, 10 Jun 2021 23:38:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96layer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layer/index.wc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layer/index.wc b/src/layer/index.wc index d92db6f..e900133 100644 --- a/src/layer/index.wc +++ b/src/layer/index.wc @@ -715,7 +715,7 @@ function _layer(opt) { } Object.assign(_layer, { - alert(content, title = lang.TITLE, btns = false) { + alert(content, title = lang.TITLE, btns) { if (typeof title === 'object') { btns = title title = lang.TITLE @@ -728,7 +728,7 @@ Object.assign(_layer, { btns }) }, - confirm(content, title = lang.TITLE, btns = false) { + confirm(content, title = lang.TITLE, btns) { if (typeof title === 'object') { btns = title title = lang.TITLE