Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix(bug): bug
Browse files Browse the repository at this point in the history
bug
  • Loading branch information
wpxp123456 committed Sep 7, 2020
1 parent ad0a88a commit ba0b047
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/controllers/imageCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,11 @@ const imageCtrl = {
$(this).hide();

let id = $(this).attr("id");

if(_this.currentImgId != null && _this.currentImgId != id){
_this.cancelActiveImgItem();
}

_this.currentImgId = id;

let item = _this.images[id];
Expand Down

0 comments on commit ba0b047

Please sign in to comment.