From cab5ef1d55fa132cbab5aa1d75ecf13a56a7d1f6 Mon Sep 17 00:00:00 2001 From: tianhao Date: Tue, 16 Jun 2026 13:56:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E9=9D=9E=E8=A7=84?= =?UTF-8?q?=E5=AE=9A=E5=88=AB=E5=90=8Dwindow.metonaToast=EF=BC=8C=E5=85=A8?= =?UTF-8?q?=E5=B1=80=E4=BB=85=E4=BF=9D=E7=95=99MeToast=E5=92=8CMet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 1 - types/index.d.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/index.js b/src/index.js index 8e4f53c..cbd7a3c 100644 --- a/src/index.js +++ b/src/index.js @@ -256,7 +256,6 @@ if (typeof i18nUtils.initI18n === 'function') { if (typeof window !== 'undefined') { window.MeToast = enhancedMeToast; window.Met = enhancedMeToast; - window.metonaToast = enhancedMeToast; // Notification API — 页面不可见时自动发送系统通知 enhancedMeToast._notify = (toast) => { diff --git a/types/index.d.ts b/types/index.d.ts index 2d6d33c..3cd6a62 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1086,6 +1086,5 @@ declare global { interface Window { MeToast: MeToast; Met: MeToast; - metonaToast: MeToast; } }