修复前端发送的错误请求
parent
6c5535ef1e
commit
381d92e047
|
@ -120,12 +120,14 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
stopDownloadRecord: function (callback) {
|
stopDownloadRecord: function (callback) {
|
||||||
|
if (this.deviceId && this.channelId && this.stream) {
|
||||||
this.$axios({
|
this.$axios({
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: '/api/gb_record/download/stop/' + this.deviceId + "/" + this.channelId+ "/" + this.stream
|
url: '/api/gb_record/download/stop/' + this.deviceId + "/" + this.channelId+ "/" + this.stream
|
||||||
}).then((res)=> {
|
}).then((res)=> {
|
||||||
if (callback) callback(res)
|
if (callback) callback(res)
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
downloadFileClientEvent: function (){
|
downloadFileClientEvent: function (){
|
||||||
// window.open(this.downloadFile )
|
// window.open(this.downloadFile )
|
||||||
|
|
Loading…
Reference in New Issue