Update web_src/js/features/comp/Cropper.ts

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
Kerwin Bryant 2024-11-21 08:33:08 +08:00 committed by GitHub
parent 36945d75fd
commit 692fcff98a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export function initCompCropper() {
showElem(cropperContainer);
};
input.addEventListener('change', (e) => {
input.addEventListener('change', (e: Event & {target: HTMLInputElement}) => {
const files = e.target.files;
let reader;