FluWindowd新增launchMode枚举值,支持Standard、SingleTask、SingleInstance

This commit is contained in:
zhuzihcu
2023-04-13 17:41:34 +08:00
parent f43bfec992
commit ab0fcf5d9c
4 changed files with 37 additions and 3 deletions

View File

@ -6,11 +6,21 @@ import FluentUI
ApplicationWindow {
id:window
enum LaunchMode {
Standard,
SingleTask,
SingleInstance
}
default property alias content: container.data
property int launchMode: FluWindow.Standard
property string route
property var argument:({})
property var pageRegister
signal initArgument(var argument)
id:window
background: Rectangle{
color: {
if(active){