feat:app嵌套h5返回键
This commit is contained in:
@@ -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 类型声明
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user