This commit is contained in:
朱子楚\zhuzi
2023-04-16 02:28:58 +08:00
parent 6db8c4d4ac
commit 88008e16be
5 changed files with 25 additions and 7 deletions

View File

@ -67,7 +67,6 @@ Rectangle{
height: root.height
spacing: 0
RowLayout{
Layout.alignment: Qt.AlignVCenter
Layout.rightMargin: 5

View File

@ -6,7 +6,6 @@ import FluentUI
ApplicationWindow {
enum LaunchMode {
Standard,
SingleTask,
@ -14,6 +13,7 @@ ApplicationWindow {
}
default property alias content: container.data
property bool closeDestory: true
property int launchMode: FluWindow.Standard
property string route
property var argument:({})
@ -50,8 +50,12 @@ ApplicationWindow {
onClosing:
(event)=>{
//销毁窗口,释放资源
helper.destoryWindow()
if(closeDestory){
helper.destoryWindow()
}else{
visible = false
event.accepted = false
}
}
FluInfoBar{