webpage test

This commit is contained in:
2024-04-09 17:54:16 +08:00
parent 338b784b8b
commit aba6717228
4 changed files with 8 additions and 4 deletions

View File

@@ -16,6 +16,10 @@ struct Index {
customStyle: true
})
aboutToAppear(): void {
ScreenUtil.getInstance().initScreenSize();
}
onPageShow(): void {
ScreenUtil.getInstance().setPreferredOrientation(window.Orientation.AUTO_ROTATION);
}