设置安全区域

Signed-off-by: nobbo <gaoshang22@huawei.com>
This commit is contained in:
nobbo 2023-08-08 19:44:42 +08:00
parent fbdc200d12
commit 62674af0ac
2 changed files with 1 additions and 4 deletions

View File

@ -18,10 +18,6 @@
"apiType": 'stageMode',
"buildOption": {
},
"entryModules": [
"phone",
"tablet"
],
"targets": [
{
"name": "default"

View File

@ -330,6 +330,7 @@ export struct NoteContentCompPortrait {
DeleteNoteComp()
}
.expandSafeArea([SafeAreaType.KEYBOARD, SafeAreaType.SYSTEM])
.height(StyleConstants.PERCENTAGE_100)
.width(StyleConstants.PERCENTAGE_100)
}