From b85756c7b99144ee35f427cce59e89d574f04a56 Mon Sep 17 00:00:00 2001 From: tianhao Date: Tue, 16 Jun 2026 15:35:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E5=AE=9A=E4=B9=89=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E6=8C=89=E9=92=AE=E6=94=B9=E7=94=A8=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E8=B0=83=E7=94=A8=EF=BC=8C=E4=BF=AE=E5=A4=8Donclick=E5=BC=95?= =?UTF-8?q?=E5=8F=B7=E8=BD=AC=E4=B9=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/demo.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/site/demo.html b/site/demo.html index aee3a36..aa13532 100644 --- a/site/demo.html +++ b/site/demo.html @@ -85,7 +85,7 @@ - + @@ -381,6 +381,11 @@ function demoCloseOnClick() { MeToast.warning('点击我即可关闭',{closeOnClick:true,duration:10000}); } function demoWidth() { MeToast.info('宽550px',{width:550}); setTimeout(()=>MeToast.info('宽280px(窄)',{width:280}),500); } function demoClassName() { MeToast.success('带自定义 className',{className:'demo-custom-class'}); } + function demoCustomIcon() { + MeToast.info('通用通知', { + iconHTML: '' + }); + } // === i18n === function switchLocale(loc) {