chore: 升级前端依赖

1.TypeScript 4.9.5 => 5.2.2
This commit is contained in:
2023-11-06 21:43:34 +08:00
parent 98fbe0506c
commit c44162d431
4 changed files with 88 additions and 87 deletions

View File

@@ -177,7 +177,7 @@
* 上传头像
*/
const handleUpload = () => {
cropperRef.value.getCropBlob((data: string | Blob) => {
cropperRef.value.getCropBlob((data: any) => {
const formData = new FormData();
formData.append('avatarFile', data, fileRef.value?.name);
uploadAvatar(formData).then((res) => {