Commit ec97c6a7d0ee1b16d08aa5ea85b34776d86af84e
1 parent
41616f72
修复云端录像播放和下载路径错误的问题
Showing
1 changed file
with
2 additions
and
2 deletions
web_src/src/components/CloudRecordDetail.vue
| @@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
| 16 | {{ item.substring(0,17)}} | 16 | {{ item.substring(0,17)}} |
| 17 | </el-tag> | 17 | </el-tag> |
| 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 />--> | 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 | </li> | 20 | </li> |
| 21 | </ul> | 21 | </ul> |
| 22 | </div> | 22 | </div> |
| @@ -265,7 +265,7 @@ | @@ -265,7 +265,7 @@ | ||
| 265 | this.videoUrl = ""; | 265 | this.videoUrl = ""; |
| 266 | }else { | 266 | }else { |
| 267 | // TODO 控制列表滚动条 | 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 | console.log(this.videoUrl) | 269 | console.log(this.videoUrl) |
| 270 | } | 270 | } |
| 271 | 271 |