mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-01-23 04:14:35 +08:00
update
This commit is contained in:
parent
06aa16c0eb
commit
b6c3f0eda9
@ -135,7 +135,9 @@ FluExpander{
|
|||||||
"FluLoadingButton",
|
"FluLoadingButton",
|
||||||
"FluClip",
|
"FluClip",
|
||||||
"FluNetwork",
|
"FluNetwork",
|
||||||
"FluShortcutPicker"
|
"FluShortcutPicker",
|
||||||
|
"FluWindowResultLauncher",
|
||||||
|
"FluRouter"
|
||||||
];
|
];
|
||||||
code = code.replace(/\n/g, "<br>");
|
code = code.replace(/\n/g, "<br>");
|
||||||
code = code.replace(/ /g, " ");
|
code = code.replace(/ /g, " ");
|
||||||
|
@ -165,20 +165,19 @@ FluScrollablePage{
|
|||||||
CodeExpander{
|
CodeExpander{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.topMargin: -1
|
Layout.topMargin: -1
|
||||||
code:'property var loginPageRegister: registerForWindowResult("/login")
|
code:'FluWindowResultLauncher{
|
||||||
|
id:loginResultLauncher
|
||||||
Connections{
|
path: "/login"
|
||||||
target: loginPageRegister
|
onResult:
|
||||||
function onResult(data)
|
(data)=>{
|
||||||
{
|
password = data.password
|
||||||
password = data.password
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FluButton{
|
FluButton{
|
||||||
text: qsTr("Create Window")
|
text: qsTr("Create Window")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
loginPageRegister.launch({username:"zhuzichu"})
|
loginResultLauncher.launch({username:"zhuzichu"})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'
|
'
|
||||||
|
@ -178,7 +178,7 @@ FluWindow {
|
|||||||
id:loader
|
id:loader
|
||||||
lazy: true
|
lazy: true
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
source: "https://zhu-zichu.gitee.io/Qt_168_LieflatPage.qml"
|
source: "https://zhu-zichu.gitee.io/Qt_174_LieflatPage.qml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
front: Item{
|
front: Item{
|
||||||
|
Loading…
Reference in New Issue
Block a user