From 21676c11ff3bb58fba59d990720e39bb392b7857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Thu, 30 Oct 2025 14:05:19 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"feat(AppNaiveUIProvider):=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=AF=B9=20NModal=20=E7=9A=84=E6=94=AF=E6=8C=81"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 75f461df0fe62ae63884e05abd052432fe7b8033. --- src/AppNaiveUIProvider.vue | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/AppNaiveUIProvider.vue b/src/AppNaiveUIProvider.vue index 4624c1d..7d46348 100644 --- a/src/AppNaiveUIProvider.vue +++ b/src/AppNaiveUIProvider.vue @@ -14,7 +14,6 @@ const themeOverrides: GlobalThemeOverrides = { const ContextHolder: FunctionalComponent = () => { window.$nLoadingBar = useLoadingBar(); window.$nDialog = useDialog(); - window.$nModal = useModal(); window.$nMessage = useMessage(); window.$nNotification = useNotification(); return createTextVNode(); @@ -26,7 +25,6 @@ declare global { export interface Window { $nLoadingBar?: import('naive-ui').LoadingBarProviderInst; $nDialog?: import('naive-ui').DialogProviderInst; - $nModal?: import('naive-ui').ModalProviderInst; $nMessage?: import('naive-ui').MessageProviderInst; $nNotification?: import('naive-ui').NotificationProviderInst; } @@ -45,14 +43,12 @@ declare global { > - - - - - - - - + + + + + +