From 85f3d1ba6315c1ecd24072714f90b4ddb4497b21 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 28 Sep 2025 12:21:38 +0800 Subject: [PATCH] bugfix --- bricks/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/input.js b/bricks/input.js index 9f43037..3fe0a69 100644 --- a/bricks/input.js +++ b/bricks/input.js @@ -550,7 +550,7 @@ bricks.UiImage =class extends bricks.VBox { dropHandle(event){ event.preventDefault(); this.set_css('hover', true); - const file = e.dataTransfer.files[0]; + const file = event.dataTransfer.files[0]; this.show_image(file); }