update 优化 用户头像 img 变量无确定类型问题
This commit is contained in:
parent
9673380f60
commit
c020c1affc
@ -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; // 默认生成截图框高度
|
||||||
|
Loading…
x
Reference in New Issue
Block a user