Compare commits

...

4 Commits

Author SHA1 Message Date
MomentQYC ba72f82d01
Merge d8a29a5534 into 763c708253 2024-11-20 06:32:01 +08: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; 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 dialogEl = shallowRef<InstanceType<typeof MkModalWindow>>();
const imgEl = shallowRef<HTMLImageElement>(); const imgEl = shallowRef<HTMLImageElement>();
let cropper: Cropper | null = null; let cropper: Cropper | null = null;