Merge branch 'master' into dev/1078-newUI
# Conflicts: # src/main/resources/application.yml
This commit is contained in:
@@ -86,9 +86,9 @@ export default {
|
||||
showClose: true,
|
||||
message: error
|
||||
})
|
||||
}).finally(()=>[
|
||||
}).finally(()=>{
|
||||
this.locading = false
|
||||
])
|
||||
})
|
||||
}else {
|
||||
this.$axios({
|
||||
method: 'post',
|
||||
@@ -113,9 +113,9 @@ export default {
|
||||
showClose: true,
|
||||
message: error
|
||||
})
|
||||
}).finally(()=>[
|
||||
}).finally(()=>{
|
||||
this.locading = false
|
||||
])
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -279,9 +279,9 @@ export default {
|
||||
showClose: true,
|
||||
message: error
|
||||
});
|
||||
}).finally(()=>[
|
||||
}).finally(()=>{
|
||||
this.locading = false
|
||||
])
|
||||
})
|
||||
}else {
|
||||
this.$axios({
|
||||
method: 'post',
|
||||
@@ -308,9 +308,9 @@ export default {
|
||||
showClose: true,
|
||||
message: error
|
||||
});
|
||||
}).finally(()=>[
|
||||
}).finally(()=>{
|
||||
this.locading = false
|
||||
])
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
@@ -338,9 +338,9 @@ export default {
|
||||
}
|
||||
}).catch((error) => {
|
||||
console.error(error)
|
||||
}).finally(()=>[
|
||||
}).finally(()=>{
|
||||
this.locading = false
|
||||
])
|
||||
})
|
||||
}).catch(() => {
|
||||
|
||||
});
|
||||
@@ -363,9 +363,9 @@ export default {
|
||||
}
|
||||
}).catch((error) => {
|
||||
console.error(error)
|
||||
}).finally(()=>[
|
||||
}).finally(()=>{
|
||||
this.locading = false
|
||||
])
|
||||
})
|
||||
},
|
||||
buildDeviceIdCode: function (deviceId){
|
||||
|
||||
|
||||
@@ -109,8 +109,8 @@ export default {
|
||||
console.log(this.form);
|
||||
this.$axios({
|
||||
method: 'post',
|
||||
url:`/api/device/query/device/${this.isEdit?'update':'add'}/`,
|
||||
params: this.form
|
||||
url:`/api/device/query/device/${this.isEdit?'update':'add'}`,
|
||||
data: this.form
|
||||
}).then((res) => {
|
||||
console.log(res.data)
|
||||
if (res.data.code === 0) {
|
||||
|
||||
@@ -6560,7 +6560,7 @@ var ZLMRTCClient = (function (exports) {
|
||||
resolve(response);
|
||||
} else {
|
||||
reject(new AxiosError_1(
|
||||
'Request failed with status code ' + response.status,
|
||||
'请求失败, 状态码:' + response.status,
|
||||
[AxiosError_1.ERR_BAD_REQUEST, AxiosError_1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
||||
response.config,
|
||||
response.request,
|
||||
@@ -7885,7 +7885,7 @@ var ZLMRTCClient = (function (exports) {
|
||||
}).then(response => {
|
||||
let ret = response.data; //JSON.parse(response.data);
|
||||
if (ret.code != 0) {
|
||||
// mean failed for offer/anwser exchange
|
||||
// mean failed for offer/anwser exchange
|
||||
this.dispatch(Events$1.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, ret);
|
||||
return;
|
||||
}
|
||||
@@ -7989,7 +7989,7 @@ var ZLMRTCClient = (function (exports) {
|
||||
}).then(response => {
|
||||
let ret = response.data; //JSON.parse(response.data);
|
||||
if (ret.code != 0) {
|
||||
// mean failed for offer/anwser exchange
|
||||
// mean failed for offer/anwser exchange
|
||||
this.dispatch(Events$1.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, ret);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user