From ccee429d379e0108b7445f72ade8d97c110a6fb3 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期二, 09 十一月 2021 18:01:59 +0800
Subject: [PATCH] 问题修复

---
 src/pages/cameraAccess/components/DataStackInfo.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/pages/cameraAccess/components/DataStackInfo.vue b/src/pages/cameraAccess/components/DataStackInfo.vue
index 1806173..7b695db 100644
--- a/src/pages/cameraAccess/components/DataStackInfo.vue
+++ b/src/pages/cameraAccess/components/DataStackInfo.vue
@@ -457,8 +457,12 @@
       if (row.type === 1) {
 
         this.videoUrl = "/files/" + row.identifier + ".mp4"
-      } else if (row.type === 2) {
 
+        // 涓烘湐榛勪娇鐢ㄦ暟鎹爤瀹氬埗, 娌℃湁MD5
+        if (row.identifier == "") {
+          this.videoUrl = row.path.replace("/opt/vasystem", "");
+        }
+      } else if (row.type === 2) {
         this.imgUrl = "/files/" + row.path.substr(row.path.lastIndexOf('/') + 1)
       }
     },

--
Gitblit v1.8.0