Compare commits

...

4 Commits

Author SHA1 Message Date
MomentQYC f4e7877737
Merge d8a29a5534 into eef0c895bc 2024-11-15 15:17:33 +00:00
MomentQYC d8a29a5534
Merge branch 'develop' into patch-1 2024-10-31 16:56:10 +08:00
MomentQYC 6545c4fcdb
Merge branch 'develop' into patch-1 2024-10-29 07:06:09 +08:00
MomentQYC 73c0387e5a
fix: Unable to crop avatar in some cases 2024-10-26 21:10:44 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ const props = defineProps<{
uploadFolder?: string | null;
}>();
const imgUrl = getProxiedImageUrl(props.file.url, undefined, true);
const imgUrl = getProxiedImageUrl(props.file.url, undefined, true).replace(/^https?:\/\/[^/]+/, location.origin);
const dialogEl = shallowRef<InstanceType<typeof MkModalWindow>>();
const imgEl = shallowRef<HTMLImageElement>();
let cropper: Cropper | null = null;