diff --git a/example/example_en_US.ts b/example/example_en_US.ts index ab94d9b6..1e7b9ce7 100644 --- a/example/example_en_US.ts +++ b/example/example_en_US.ts @@ -2092,7 +2092,7 @@ Some contents... - + Name @@ -2112,67 +2112,67 @@ Some contents... - + Age - + Clear All - + Delete Selection - + Add a row of Data - + Insert a Row - + Focus not acquired: Please click any item in the form as the target for insertion! - + Avatar - + Address - + Nickname - + Long String - + Options - + <Previous - + Next> diff --git a/example/example_zh_CN.ts b/example/example_zh_CN.ts index 9efff7ff..88b8c04d 100644 --- a/example/example_zh_CN.ts +++ b/example/example_zh_CN.ts @@ -1092,7 +1092,7 @@ Updated content: The verification code is correct - 验证码错误 + 验证成功 @@ -2274,7 +2274,7 @@ Some contents... - + Name 名称 @@ -2294,67 +2294,67 @@ Some contents... 全选 - + Age 年龄 - + Clear All 清除所有 - + Insert a Row 插入一行 - + Focus not acquired: Please click any item in the form as the target for insertion! 焦点未获取:请点击表格中的任意一项,作为插入的靶点! - + Avatar 头像 - + Address 地址 - + Nickname 昵称 - + Long String 长字符串 - + Options 操作 - + <Previous <上一页 - + Next> 下一页> - + Delete Selection 删除选中 - + Add a row of Data 添加一行数据 diff --git a/example/qml/page/T_TableView.qml b/example/qml/page/T_TableView.qml index dc4ae88a..242fdb4b 100644 --- a/example/qml/page/T_TableView.qml +++ b/example/qml/page/T_TableView.qml @@ -315,12 +315,7 @@ FluContentPage{ radius: [20,20,20,20] Image{ anchors.fill: parent - source: { - if(options && options.avatar){ - return options.avatar - } - return "" - } + source: options && options.avatar ? options.avatar : "" sourceSize: Qt.size(80,80) } }