From 64e585a7e5f5eb36fa1c10a132d873f27f5e6aa1 Mon Sep 17 00:00:00 2001 From: fofolee Date: Mon, 2 May 2022 16:10:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9showMessageBox=E7=9A=84?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/monaco/types/quickcommand.api.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/monaco/types/quickcommand.api.d.ts b/src/plugins/monaco/types/quickcommand.api.d.ts index 30a0510..c14dbbc 100644 --- a/src/plugins/monaco/types/quickcommand.api.d.ts +++ b/src/plugins/monaco/types/quickcommand.api.d.ts @@ -134,7 +134,7 @@ interface quickcommandApi { * 显示一个自动消失的提示框 * * ```js - * quickcommand.showMessageBox("这是一段3s后自动消失的成功提示") + * quickcommand.showMessageBox("这是一段3s后自动消失的成功提示", "success", 3000) * ``` * @param message 显示的消息内容 * @param icon 图标,默认为 success