mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
update
This commit is contained in:
parent
f0f2814d5e
commit
0ecab11e3c
@ -100,6 +100,9 @@ FluContentPage{
|
|||||||
params.custtel = "1234567890"
|
params.custtel = "1234567890"
|
||||||
params.custemail = "zhuzichu520@gmail.com"
|
params.custemail = "zhuzichu520@gmail.com"
|
||||||
request.params = params
|
request.params = params
|
||||||
|
var headers = {}
|
||||||
|
headers.test = "123456789456465321354"
|
||||||
|
request.headers = headers
|
||||||
http.post(request,callable)
|
http.post(request,callable)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -101,6 +101,9 @@ FluContentPage{
|
|||||||
params.custtel = "1234567890"
|
params.custtel = "1234567890"
|
||||||
params.custemail = "zhuzichu520@gmail.com"
|
params.custemail = "zhuzichu520@gmail.com"
|
||||||
request.params = params
|
request.params = params
|
||||||
|
var headers = {}
|
||||||
|
headers.test = "123456789456465321354"
|
||||||
|
request.headers = headers
|
||||||
http.post(request,callable)
|
http.post(request,callable)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -128,6 +131,15 @@ FluContentPage{
|
|||||||
http.postString(request,callable)
|
http.postString(request,callable)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
FluButton{
|
||||||
|
implicitWidth: parent.width
|
||||||
|
implicitHeight: 36
|
||||||
|
text: "Delete请求"
|
||||||
|
onClicked: {
|
||||||
|
var request = http.newRequest("https://httpbingo.org/delete")
|
||||||
|
http.deleteResource(request,callable)
|
||||||
|
}
|
||||||
|
}
|
||||||
FluProgressButton{
|
FluProgressButton{
|
||||||
id:btn_download
|
id:btn_download
|
||||||
implicitWidth: parent.width
|
implicitWidth: parent.width
|
||||||
|
Loading…
Reference in New Issue
Block a user