lsc 2 år sedan
förälder
incheckning
b977cd5274
2 ändrade filer med 6 tillägg och 0 borttagningar
  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)