fix(chat): show browser hint in development

This commit is contained in:
2026-06-17 18:02:43 +08:00
parent 56b2c39ca5
commit bded7497d2
4 changed files with 7 additions and 16 deletions
+2 -1
View File
@@ -24,6 +24,7 @@ import { useAuthState } from "@/stores/auth/auth-context";
import type { LoginStatus } from "@/data/dto/auth";
import { AuthStorage } from "@/data/storage/auth/auth_storage";
import { useChatDispatch, useChatState } from "@/stores/chat/chat-context";
import { AppEnvUtil } from "@/utils/app-env";
import { MobileShell } from "@/app/_components/core";
@@ -155,7 +156,7 @@ export function ChatScreen() {
</div>
{/* 浏览器提示(应用内浏览器检测) */}
<BrowserHintOverlay />
<BrowserHintOverlay forceShow={AppEnvUtil.isDevelopment()} />
{/* PWA 安装提示触发器(无可见 UI3.5s 后弹 dialog */}
<PwaInstallOverlay />