bugfix
This commit is contained in:
parent
0ddfd56569
commit
1937541daf
@ -177,6 +177,7 @@ bricks.AudioRecorder = class oops extends bricks.HBox {
|
|||||||
bricks.debug("kGZO::录音失败:");
|
bricks.debug("kGZO::录音失败:");
|
||||||
});
|
});
|
||||||
this.recClose();
|
this.recClose();
|
||||||
|
this.dispatch('record_ended');
|
||||||
}
|
}
|
||||||
upload = async function(){
|
upload = async function(){
|
||||||
if(!this.recordData){
|
if(!this.recordData){
|
||||||
@ -195,8 +196,7 @@ bricks.AudioRecorder = class oops extends bricks.HBox {
|
|||||||
params:form
|
params:form
|
||||||
});
|
});
|
||||||
bricks.debug('ret=', ret);
|
bricks.debug('ret=', ret);
|
||||||
this.recClose();
|
this.dispatch('uploaded', ret)
|
||||||
this.dispatch('updated', ret)
|
|
||||||
}
|
}
|
||||||
download(){
|
download(){
|
||||||
if(!this.recordData){
|
if(!this.recordData){
|
||||||
|
Loading…
Reference in New Issue
Block a user