Browse Source

报错弹窗修改

1178232204@qq.com 3 years ago
parent
commit
e7a46493c2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/js/modal.js

+ 2 - 0
src/js/modal.js

@@ -109,6 +109,7 @@ const jQuery = require('jquery');
         }
         if (ops.type == 'tip') {
             setTimeout(function () {
+                box.remove();
                 $(".divModal").remove()
             }, ops.time);
         }
@@ -118,6 +119,7 @@ const jQuery = require('jquery');
             })
         } else {
             $(parent.document||document).on('click', ".alertModal .titlemodal img,.alertModal .quite,.alertModal .gobackbtn", function () {
+                box.remove();
                 $(".divModal").remove()
             })
         }