update 优化 用户头像 img 变量无确定类型问题

This commit is contained in:
疯狂的狮子Li 2023-12-08 17:01:19 +08:00
parent 9673380f60
commit c020c1affc

View File

@ -62,7 +62,7 @@ import { uploadAvatar } from "@/api/system/user";
import useUserStore from "@/store/modules/user"; import useUserStore from "@/store/modules/user";
interface Options { interface Options {
img: string | ArrayBuffer | null; // img: string | any; //
autoCrop: boolean; // autoCrop: boolean; //
autoCropWidth: number; // autoCropWidth: number; //
autoCropHeight: number; // autoCropHeight: number; //