修复播放页面
This commit is contained in:
parent
3051fc82ee
commit
b9ffcd1d38
@ -220,6 +220,7 @@ export default {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
url: '/api/play/start/' + deviceId + '/' + channelId
|
url: '/api/play/start/' + deviceId + '/' + channelId
|
||||||
}).then(function (res) {
|
}).then(function (res) {
|
||||||
|
console.log(res)
|
||||||
that.isLoging = false;
|
that.isLoging = false;
|
||||||
if (res.data.code === 0) {
|
if (res.data.code === 0) {
|
||||||
|
|
||||||
@ -241,8 +242,9 @@ export default {
|
|||||||
that.$message.error(res.data.msg);
|
that.$message.error(res.data.msg);
|
||||||
}
|
}
|
||||||
}).catch(function (e) {
|
}).catch(function (e) {
|
||||||
|
console.error(e)
|
||||||
that.isLoging = false;
|
that.isLoging = false;
|
||||||
that.$message.error("请求超时");
|
// that.$message.error("请求超时");
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
queryRecords: function (itemData) {
|
queryRecords: function (itemData) {
|
||||||
|
@ -313,7 +313,7 @@ export default {
|
|||||||
activePlayer: "jessibuca",
|
activePlayer: "jessibuca",
|
||||||
// 如何你只是用一种播放器,直接注释掉不用的部分即可
|
// 如何你只是用一种播放器,直接注释掉不用的部分即可
|
||||||
player: {
|
player: {
|
||||||
// jessibuca : ["ws_flv", "wss_flv"],
|
jessibuca : ["ws_flv", "wss_flv"],
|
||||||
webRTC: ["rtc", "rtc"],
|
webRTC: ["rtc", "rtc"],
|
||||||
},
|
},
|
||||||
videoHistory: {
|
videoHistory: {
|
||||||
|
Loading…
Reference in New Issue
Block a user