|
|
@@ -39,7 +39,7 @@
|
|
|
<div id="dplayer" ref="dplayer" style="height: 480px;" />
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
- <h5>摄像头离线, 你可以查看本摄像头的<router-link style="text-decoration-line: none; color: red" target="_blank" :to="`/my/cam/record/` + camDetail.camId">历史录像</router-link></h5>
|
|
|
+ <h5>摄像头离线, 你可以查看本摄像头的<router-link style="text-decoration-line: none; color: red" target="_blank" :to="`/my/cam/${camDetail.camId}/record/`">历史录像</router-link></h5>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
</el-row>
|
|
|
@@ -160,7 +160,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
goToCamRecord() {
|
|
|
- const path = '/my/cam/record/' + this.camDetail.camId
|
|
|
+ const path = '/my/cam/' + this.camDetail.camId + '/record'
|
|
|
if (this.$route.path === path) {
|
|
|
this.$router.go(0)
|
|
|
return
|