xiongzhu 2 年之前
父節點
當前提交
4f28a34b75
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      testupload.ts

+ 3 - 1
testupload.ts

@@ -41,4 +41,6 @@ async function uploadDoc(title, content) {
     return `https://nebuai.oss-cn-hangzhou.aliyuncs.com/${key}`
 }
 
-uploadDoc('test', '# test')
+uploadDoc('test', '# test').then((res) => {
+    console.log(res)
+})