浏览代码

Merge branch 'messagePass220412' into test

1178232204@qq.com 3 年之前
父节点
当前提交
bb8961bd93
共有 1 个文件被更改,包括 2 次插入0 次删除
  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()
             })
         }