Commit ec97c6a7d0ee1b16d08aa5ea85b34776d86af84e

Authored by dengming
1 parent 41616f72

修复云端录像播放和下载路径错误的问题

web_src/src/components/CloudRecordDetail.vue
... ... @@ -16,7 +16,7 @@
16 16 {{ item.substring(0,17)}}
17 17 </el-tag>
18 18 <!-- <a class="el-icon-download" style="color: #409EFF;font-weight: 600;margin-left: 10px;" :href="`${basePath}/${mediaServerId}/record/${recordFile.app}/${recordFile.stream}/${chooseDate}/${item}`" download />-->
19   - <a class="el-icon-download" style="color: #409EFF;font-weight: 600;margin-left: 10px;" :href="`${basePath}/download.html?url=${recordFile.app}/${recordFile.stream}/${chooseDate}/${item}`" target="_blank" />
  19 + <a class="el-icon-download" style="color: #409EFF;font-weight: 600;margin-left: 10px;" :href="`${basePath}/download.html?url=record/${recordFile.app}/${recordFile.stream}/${chooseDate}/${item}`" target="_blank" />
20 20 </li>
21 21 </ul>
22 22 </div>
... ... @@ -265,7 +265,7 @@
265 265 this.videoUrl = "";
266 266 }else {
267 267 // TODO 控制列表滚动条
268   - this.videoUrl = `${this.basePath}/${this.recordFile.app}/${this.recordFile.stream}/${this.chooseDate}/${this.choosedFile}`
  268 + this.videoUrl = `${this.basePath}/record/${this.recordFile.app}/${this.recordFile.stream}/${this.chooseDate}/${this.choosedFile}`
269 269 console.log(this.videoUrl)
270 270 }
271 271  
... ...