|
@@ -291,11 +291,15 @@ export default {
|
|
|
|
|
|
CreateEnterLiveRoomSession({
|
|
|
task_id: this.task_id
|
|
|
- }).then(({ connection_status, connection_mode }) => {
|
|
|
- common.downloadWebSDK(this);
|
|
|
- this.connection_status = connection_status;
|
|
|
- this.connection_mode = connection_mode;
|
|
|
- });
|
|
|
+ })
|
|
|
+ .then(({ connection_status, connection_mode }) => {
|
|
|
+ common.downloadWebSDK(this);
|
|
|
+ this.connection_status = connection_status;
|
|
|
+ this.connection_mode = connection_mode;
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.$loading().close();
|
|
|
+ });
|
|
|
}
|
|
|
});
|
|
|
},
|