root 2 年之前
父节点
当前提交
274be3bd91
共有 3 个文件被更改,包括 206 次插入199 次删除
  1. 1 0
      package.json
  2. 2 1
      src/data/blob.ts
  3. 203 198
      yarn.lock

+ 1 - 0
package.json

@@ -29,6 +29,7 @@
     "@types/react": "17.0.39",
     "@types/react-dom": "17.0.11",
     "@types/socket.io-client": "1.4.36",
+    "aws-sdk": "2.1373.0",
     "browser-fs-access": "0.23.0",
     "canvas": "2.9.0",
     "clsx": "1.1.1",

+ 2 - 1
src/data/blob.ts

@@ -16,7 +16,8 @@ import { FileSystemHandle } from "./filesystem";
 import { isValidExcalidrawData } from "./json";
 import { restore } from "./restore";
 import { ImportedLibraryData } from "./types";
-const AWS: any = require("https://pbl.cocorobo.cn/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js");
+//const AWS: any = require("https://pbl.cocorobo.cn/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js");
+import * as AWS from "aws-sdk";
 
 const parseFileContents = async (blob: Blob | File) => {
   let contents: string;

文件差异内容过多而无法显示
+ 203 - 198
yarn.lock


部分文件因为文件数量过多而无法显示