From 5fa6ebd830094a503ff16b30a164f7ed281671ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20`layer.closeLast()`=20?= =?UTF-8?q?=E7=A8=B3=E5=AE=9A=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/layer/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/layer/index.md b/docs/layer/index.md index eaddedf9..af48df6d 100644 --- a/docs/layer/index.md +++ b/docs/layer/index.md @@ -388,7 +388,7 @@ layer.closeAll('tips'); // 关闭所有的 tips 层 `layer.closeLast(type, callback);` - 参数 `type` : 弹层的类型。可选值:`dialog,page,iframe,loading,tips` -- 参数 `callback` : 关闭弹层后的回调函数 +- 参数 `callback` 2.9+: 关闭弹层后的回调函数 该方法用于关闭最近一次打开的对应类型的层。