Parcourir la Source

修复sonar扫描问题

guohh 4 ans auparavant
Parent
commit
718845621e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      static-res/hn-jiake/static/dist/js/ipu.js

+ 1 - 1
static-res/hn-jiake/static/dist/js/ipu.js

@ -1268,7 +1268,7 @@
1268 1268
    };
1269 1269
    ipu.closeModal = function (modal) {
1270 1270
        modal = $(modal || '.ui-modal-in');
1271
        if (typeof modal !== 'undefined' && modal.length === 0) {
1271
        if (typeof modalObj === 'undefined' || modalObj == null || (typeof modalObj !== 'undefined' && modalObj.length === 0)) {
1272 1272
            return;
1273 1273
        }
1274 1274
        var isModal = modal.hasClass('ui-modal'),