当前目录仅有一个gif图片时,打开后,显示区域异常
This commit is contained in:
parent
d2f81ab87a
commit
d6c97acddb
|
@ -132,7 +132,7 @@ Rectangle {
|
|||
}
|
||||
//通知pathview更换图片
|
||||
function noticeChangeIndex(changeIndex) {
|
||||
if (pathView.currentIndex === changeIndex) {
|
||||
if ((pathView.currentIndex === changeIndex) && (itemCount > 1)) {
|
||||
return
|
||||
}
|
||||
pathView.currentIndex = changeIndex
|
||||
|
|
Loading…
Reference in New Issue