lsc 3 settimane fa
parent
commit
8b8fb863c4
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      src/views/components/element/FrameElement/jietu.js

+ 3 - 1
src/views/components/element/FrameElement/jietu.js

@@ -88,11 +88,13 @@ function addSWork_shishi(uid, cid, a, task, tool, atool, type) {
     data: params,
     dataType: 'json',
     success: (data) => {
+      console.log(data)
+      
       const _a = document.getElementsByTagName('img')
       for (let i = 0; i < _a.length; i++) {
         _a[i].removeAttribute('crossorigin')
       }
-      parent.successSubmit()
+      parent.PPTistStudent.successSubmit()
 
       console.log('截图上传成功')
     }