feat: 适配APP横屏

This commit is contained in:
AncTe committed 2024-05-01 10:49:54 +08:00
1 parent 518f5a5815
commit 471b3071f9
4 files changed
+23 -6

No files matched your search

+9
View File
@@ -541,6 +541,15 @@ interface Utils {
declare const utils: new () => Utils;
interface JSInterface {
requestLandscape(): void;
requestPortrait(): void;
}
interface Window {
jsinterface: JSInterface;
}
declare const jsinterface: JSInterface;
/**
* 移动的方向
*/