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; } }