Przeglądaj źródła

Merge branch 'messagePass220412' into test

1178232204@qq.com 3 lat temu
rodzic
commit
bb8961bd93
1 zmienionych plików z 2 dodań i 0 usunięć
  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()
             })
         }