mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-03 00:25:25 +08:00
update
This commit is contained in:
@ -88,7 +88,10 @@ FluObject{
|
||||
}
|
||||
url:"qrc:/example/qml/page/T_Text.qml"
|
||||
onDropped:{ FluApp.navigate("/pageWindow",{title:title,url:url}) }
|
||||
onTap:{ navigationView.push(url) }
|
||||
onTap:{
|
||||
item_text.count = 0
|
||||
navigationView.push(url)
|
||||
}
|
||||
}
|
||||
FluPaneItem{
|
||||
title:"Image"
|
||||
|
@ -309,7 +309,6 @@ CustomWindow {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
HttpCallable{
|
||||
id:callable
|
||||
onStart: {
|
||||
@ -335,8 +334,21 @@ CustomWindow {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// HttpRequest{
|
||||
// id:reuqest
|
||||
// url: "https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest"
|
||||
// }
|
||||
|
||||
|
||||
function checkUpdate(){
|
||||
http.get("https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest",callable)
|
||||
var request = http.newRequest()
|
||||
console.debug("-------------------->"+request)
|
||||
request.url = "https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest"
|
||||
|
||||
console.debug("-------------------->"+request.url)
|
||||
http.get2(request,callable);
|
||||
// http.get("https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest",callable)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -88,7 +88,10 @@ FluObject{
|
||||
}
|
||||
url:"qrc:/example/qml/page/T_Text.qml"
|
||||
onDropped:{ FluApp.navigate("/pageWindow",{title:title,url:url}) }
|
||||
onTap:{ navigationView.push(url) }
|
||||
onTap:{
|
||||
item_text.count = 0
|
||||
navigationView.push(url)
|
||||
}
|
||||
}
|
||||
FluPaneItem{
|
||||
title:"Image"
|
||||
|
Reference in New Issue
Block a user