浏览代码

[FE]处理AL报警详情无法点开的问题

liuwenxun 4 年之前
父节点
当前提交
b9c1321c96
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      security-protection-platform/src/modules/aialarm/index.vue

+ 4 - 2
security-protection-platform/src/modules/aialarm/index.vue

@ -307,8 +307,10 @@ export default {
307 307
        this.videoDetailData = res.data.data.videoInfo
308 308

309 309
        if (this.videoDetailData) {
310
          console.log(2222222222222)
310
          // console.log(2222222222222)
311 311
          this.playerOptions.sources[0].src = this.videoDetailData.videoFileUrl
312
        } else {
313
          this.playerOptions.sources[0].src = ''
312 314
        }
313 315

314 316
        // console.log(this.playerOptions.sources[0].src)
@ -394,7 +396,7 @@ export default {
394 396
        if (res.status === 200) {
395 397
          this.data = res.data.data.data
396 398
          this.data = this.data.map((item) => { item.aiIdenTime = formatDateTime(item.aiIdenTime); return item })
397
          // console.log(this.data)
399
          console.log(this.data)
398 400

399 401
          this.total = Math.ceil(res.data.data.total / res.data.data.size) * 5
400 402
        } else {