mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-06 18:55:58 +08:00
update
This commit is contained in:
@ -7,7 +7,7 @@ import "../component"
|
||||
|
||||
FluScrollablePage{
|
||||
|
||||
title:"Image"
|
||||
title: qsTr("Image")
|
||||
|
||||
FluArea{
|
||||
Layout.fillWidth: true
|
||||
@ -24,9 +24,10 @@ FluScrollablePage{
|
||||
width: 384
|
||||
height: 240
|
||||
source: "https://gitee.com/zhu-zichu/zhu-zichu/raw/74f075efe2f8d3c3bb7ba3c2259e403450e4050b/image/banner_4.jpg"
|
||||
errorButtonText: qsTr("Reload")
|
||||
onStatusChanged:{
|
||||
if(status === Image.Error){
|
||||
showError("图片加载失败,请重新加载")
|
||||
showError(qsTr("The image failed to load, please reload"))
|
||||
}
|
||||
}
|
||||
clickErrorListener: function(){
|
||||
|
Reference in New Issue
Block a user