This commit is contained in:
朱子楚\zhuzi
2023-11-23 19:58:54 +08:00
parent 35d85aa801
commit 2f3ed2bd0f
11 changed files with 50 additions and 3 deletions

View File

@ -38,7 +38,7 @@ Window {
property bool showMinimize: true
property bool showMaximize: true
property bool showStayTop: true
property bool useSystemAppBar: false
property bool useSystemAppBar
property var closeListener: function(event){
if(closeDestory){
destoryOnClose()
@ -58,6 +58,7 @@ Window {
d.changedStayTop()
}
Component.onCompleted: {
useSystemAppBar = FluApp.useSystemAppBar
lifecycle.onCompleted(window)
initArgument(argument)
d.changedStayTop()