This commit is contained in:
yumoqing 2024-08-09 16:48:16 +08:00
parent 678c3b46e0
commit 72f79a17e3

View File

@ -9,7 +9,7 @@ bricks.VadText = class extends bricks.VBox {
label:'start',
icon:bricks_resource('imgs/speak.png')
});
this.audio = AudioPlayer({});
this.audio = new bricks.AudioPlayer({});
hbox = new bricks.HBox({height:'auto'});
hbox.add_widget(this.button);
hbox.add_widget(this.audio)