lsc 3 周之前
父節點
當前提交
8b8fb863c4
共有 1 個文件被更改,包括 3 次插入1 次删除
  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('截图上传成功')
     }