mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-25 22:47:49 +08:00
修复前端发送的错误请求
This commit is contained in:
parent
6c5535ef1e
commit
381d92e047
@ -120,12 +120,14 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
stopDownloadRecord: function (callback) {
|
stopDownloadRecord: function (callback) {
|
||||||
this.$axios({
|
if (this.deviceId && this.channelId && this.stream) {
|
||||||
method: 'get',
|
this.$axios({
|
||||||
url: '/api/gb_record/download/stop/' + this.deviceId + "/" + this.channelId+ "/" + this.stream
|
method: 'get',
|
||||||
}).then((res)=> {
|
url: '/api/gb_record/download/stop/' + this.deviceId + "/" + this.channelId+ "/" + this.stream
|
||||||
if (callback) callback(res)
|
}).then((res)=> {
|
||||||
});
|
if (callback) callback(res)
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
downloadFileClientEvent: function (){
|
downloadFileClientEvent: function (){
|
||||||
// window.open(this.downloadFile )
|
// window.open(this.downloadFile )
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user