xiongzhu 2 vuotta sitten
vanhempi
commit
4f28a34b75
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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)
+})