feat:app嵌套h5返回键

This commit is contained in:
liu.huiying@ebiz-digits.com
2025-03-14 17:57:04 +08:00
parent 5ec306cf96
commit 5f25815b8e
4 changed files with 54 additions and 4 deletions

View File

@@ -18,7 +18,8 @@ if (import.meta.env.VITE_APP_ENV !== 'production') {
// 添加 TypeScript 类型声明,在文件顶部添加
declare global {
interface Window {
onAndroidBack: () => void;
onAndroidBack: (() => void) | null;
appBridge?: any; // 同时添加 appBridge 类型声明
}
}