From 5bd66255ccd4e995337b9039094964d2677db4cc Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 22 二月 2022 17:19:06 +0800 Subject: [PATCH] 完善日志监控模块, 需要配合valog-server使用 --- src/pages/cameraAccess/components/DataStackInfo.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/pages/cameraAccess/components/DataStackInfo.vue b/src/pages/cameraAccess/components/DataStackInfo.vue index abf7198..7b695db 100644 --- a/src/pages/cameraAccess/components/DataStackInfo.vue +++ b/src/pages/cameraAccess/components/DataStackInfo.vue @@ -457,8 +457,10 @@ if (row.type === 1) { this.videoUrl = "/files/" + row.identifier + ".mp4" + + // 涓烘湐榛勪娇鐢ㄦ暟鎹爤瀹氬埗, 娌℃湁MD5 if (row.identifier == "") { - this.videoUrl = row.path; + 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