update feature/pagedesktop/src/main/ets/default/layout/PageDesktopLayout.ets.

Signed-off-by: gengzhengxing <gengzhengxing1@h-partners.com>
This commit is contained in:
gengzhengxing 2023-06-24 16:12:37 +00:00 committed by Gitee
parent 594d571a7e
commit 4439874181
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -105,7 +105,7 @@ export struct PageDesktopLayout {
gridConfig: this.gridConfig,
mPageDesktopViewModel: mPageDesktopViewModel,
dialogController: this.deviceType == CommonConstants.PAD_DEVICE_TYPE ? null : this.dialogController
})
}).id(`${TAG}`)
.width(StyleConstants.PERCENTAGE_100)
.height(StyleConstants.PERCENTAGE_100)
}
@ -119,6 +119,14 @@ struct settingDialog {
confirm: () => void
onAccept: () => void
aboutToAppear(): void {}
aboutToDisappear(): void {
this.cancel = null;
this.confirm = null;
this.controller = null;
}
build() {
Stack() {
Column() {