From 290aed74f25d79c06cc604ba0aa8fcbb0a885f4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Wed, 5 Nov 2025 23:23:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(App):=20=E8=B0=83=E6=95=B4=20Toast=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=20z-index=20=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E7=BC=BA=E5=A4=B1=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 Toast 组件添加 style="z-index: 5000" 以确保其层级高于其他 UI 元素 - 在开发模式下,当菜单翻译缺失时,通过 ToastService 弹出警告提示 - 更新 app-config 插件中的 __DEV__ 注释,明确其来源于 vite.config.ts 的 define 配置 - 提高 PrimeVue 的 zIndex 配置值,避免与自定义组件层级冲突 --- src/App.vue | 2 +- src/locales-utils/i18n-auto-imports.ts | 8 ++++++++ src/plugins/00.app-config.ts | 3 ++- src/plugins/10.primevue-plugin.ts | 8 ++++---- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index bd4d765..8e74ce2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,7 +6,7 @@ import AppNaiveUIProvider from './AppNaiveUIProvider.vue';