This commit is contained in:
朱子楚\zhuzi
2024-04-23 00:31:20 +08:00
parent bc4510077f
commit e8d79e3c7b
14 changed files with 84 additions and 55 deletions

View File

@ -60,12 +60,8 @@ FluScrollablePage{
FluStatusLayout{
id:status_view
anchors.fill: parent
loadingText: qsTr("Loading...")
emptyText: qsTr("Empty")
errorText: qsTr("The page went wrong...")
errorButtonText: qsTr("Reload")
onErrorClicked:{
showError("Click Reload")
status_view.statusMode = FluStatusLayoutType.Loading
}
Rectangle {
anchors.fill: parent