Skip to content

Commit 692fcff

Browse files
Update web_src/js/features/comp/Cropper.ts
Co-authored-by: silverwind <[email protected]>
1 parent 36945d7 commit 692fcff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/comp/Cropper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function initCompCropper() {
3939
showElem(cropperContainer);
4040
};
4141

42-
input.addEventListener('change', (e) => {
42+
input.addEventListener('change', (e: Event & {target: HTMLInputElement}) => {
4343
const files = e.target.files;
4444

4545
let reader;

0 commit comments

Comments
 (0)