This commit is contained in:
yumoqing 2025-09-28 11:55:58 +08:00
parent 5a267dff1e
commit e65d24bab2

View File

@ -497,7 +497,7 @@ bricks.UiImage =class extends bricks.VBox {
rate:2}); rate:2});
this.add_widget(this.camera_w); this.add_widget(this.camera_w);
this.camera_w.bind('click', this.take_photo.bind(this)); this.camera_w.bind('click', this.take_photo.bind(this));
this.bind('dragover', {event) => { this.bind('dragover', (event) => {
event.preventDefault(); event.preventDefault();
}); });
this.bind('drop', this.dropHandle.bind(this)); this.bind('drop', this.dropHandle.bind(this));