lsc 2 years ago
parent
commit
b977cd5274
2 changed files with 6 additions and 0 deletions
  1. 3 0
      js/Common/jietu2.js
  2. 3 0
      js/Common/jietu4.js

+ 3 - 0
js/Common/jietu2.js

@@ -162,6 +162,9 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
         _inner.innerHTML = "截图上传成功"
         _div.appendChild(_inner)
         document.body.appendChild(_div)
+        _div.onclick = () => {
+          document.body.removeChild(_div)
+        }
         setTimeout(() => {
           //  document.body.removeChild(_loading)
           document.body.removeChild(_div)

+ 3 - 0
js/Common/jietu4.js

@@ -149,6 +149,9 @@ function addSWork_shishi(uid, cid, stage, task, tool, a, loading, atool, text) {
         _inner.innerHTML = "截图上传成功"
         _div.appendChild(_inner)
         document.body.appendChild(_div)
+        _div.onclick = () => {
+          document.body.removeChild(_div)
+        }
         setTimeout(() => {
           //  document.body.removeChild(_loading)
           document.body.removeChild(_div)