save
This commit is contained in:
parent
f532a992e1
commit
2915136e88
|
@ -23,8 +23,7 @@ export default async function uploadOss(file: File, root: string) {
|
|||
"Content-Type": file.type,
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
.then((res: { name: string }) => {
|
||||
return ossBase + "/" + res.name;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -49,5 +49,11 @@
|
|||
"postcss": "^8.5.1",
|
||||
"tailwindcss": "^4.0.4",
|
||||
"typescript": "^5"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"bcrypt",
|
||||
"sharp"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue