fix(17806):功能缺陷-【uat】意见反馈-描述您的问题-上传图片后,点击叉叉按钮,没有反应,预期删除图片,并显示加号上传按钮,看图
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -294,7 +294,7 @@ export struct FeedBackActivity { | @@ -294,7 +294,7 @@ export struct FeedBackActivity { | ||
| 294 | mediaFlag = true; | 294 | mediaFlag = true; |
| 295 | Logger.info(TAG, `select image/video uri: ${value}`); | 295 | Logger.info(TAG, `select image/video uri: ${value}`); |
| 296 | }) | 296 | }) |
| 297 | - if(this.pics.length<=3 && beforeLen != 3){ | 297 | + if(this.pics.length<=3 && beforeLen != 3 && array.length != 3){ |
| 298 | this.addPic.id = startIndex | 298 | this.addPic.id = startIndex |
| 299 | this.pics[this.pics.length-1]=this.addPic; | 299 | this.pics[this.pics.length-1]=this.addPic; |
| 300 | } | 300 | } |
-
Please register or login to post a comment