修复云端录像查看

This commit is contained in:
64850858
2021-07-19 17:22:54 +08:00
parent 91ee708c37
commit 77e3e0878f
7 changed files with 47 additions and 27 deletions

View File

@@ -211,10 +211,19 @@
}
}).then(function (res) {
that.getListLoading = false;
that.$refs.devicePlayer.openDialog("streamPlay", null, null, {
streamInfo: res.data,
hasAudio: true
});
if (res.data.code === 0) {
that.$refs.devicePlayer.openDialog("streamPlay", null, null, {
streamInfo: res.data.data,
hasAudio: true
});
}else {
that.$message({
showClose: true,
message: "获取地址失败:" + res.data.msg,
type: "error",
});
}
}).catch(function (error) {
console.log(error);
that.getListLoading = false;