mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-05 17:55:25 +08:00
FluWindowd新增launchMode枚举值,支持Standard、SingleTask、SingleInstance
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user