This commit is contained in:
zhuzichu 2023-10-30 14:45:22 +08:00
parent a693db76c8
commit 50a6103584
2 changed files with 20 additions and 0 deletions

View File

@ -23,6 +23,11 @@ Window {
property bool stayTop: false property bool stayTop: false
property var _pageRegister property var _pageRegister
property string _route property string _route
property bool showDark: false
property bool showClose: true
property bool showMinimize: true
property bool showMaximize: true
property bool showStayTop: true
property var closeListener: function(event){ property var closeListener: function(event){
if(closeDestory){ if(closeDestory){
destoryOnClose() destoryOnClose()
@ -82,6 +87,11 @@ Window {
id:com_app_bar id:com_app_bar
FluAppBar { FluAppBar {
title: window.title title: window.title
showDark: window.showDark
showClose: window.showClose
showMinimize: window.showMinimize
showMaximize: window.showMaximize
showStayTop: window.showStayTop
} }
} }
Loader{ Loader{

View File

@ -22,6 +22,11 @@ Window {
property bool stayTop: false property bool stayTop: false
property var _pageRegister property var _pageRegister
property string _route property string _route
property bool showDark: false
property bool showClose: true
property bool showMinimize: true
property bool showMaximize: true
property bool showStayTop: true
property var closeListener: function(event){ property var closeListener: function(event){
if(closeDestory){ if(closeDestory){
destoryOnClose() destoryOnClose()
@ -81,6 +86,11 @@ Window {
id:com_app_bar id:com_app_bar
FluAppBar { FluAppBar {
title: window.title title: window.title
showDark: window.showDark
showClose: window.showClose
showMinimize: window.showMinimize
showMaximize: window.showMaximize
showStayTop: window.showStayTop
} }
} }
Loader{ Loader{