mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-28 04:57:17 +08:00
chore: 升级前端依赖
1.TypeScript 4.9.5 => 5.2.2
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user