lsc 1 개월 전
부모
커밋
84925baefc
1개의 변경된 파일과 4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/hooks/useImport.ts

+ 4 - 1
src/hooks/useImport.ts

@@ -251,7 +251,10 @@ export default () => {
     const win = window as any
     if (!win.exportJSON) win.exportJSON = exportJSON2
     if (!win.readJSON) win.readJSON = readJSON
-    if (!win.imgExporting) win.imgExporting = () => imgExporting.value
+    if (!win.imgExporting) win.imgExporting = () => {
+      console.log(imgExporting.value)
+      return imgExporting.value
+    }
   }
 
   // 导入pptist文件