added close button when drawer shown in the topright corner

This commit is contained in:
ronoaer 2023-09-16 08:05:43 +08:00
parent c0aca97083
commit 8a3bdf136b
7 changed files with 124 additions and 0 deletions

View file

@ -27,6 +27,8 @@ PageType {
target: ExportController
function onGenerateConfig(type) {
shareConnectionDrawer.needCloseButton = false
shareConnectionDrawer.open()
shareConnectionDrawer.contentVisible = false
PageController.showBusyIndicator(true)
@ -58,6 +60,10 @@ PageType {
}
PageController.showBusyIndicator(false)
shareConnectionDrawer.needCloseButton = true
PageController.showTopCloseButton(true)
shareConnectionDrawer.contentVisible = true
}