|
@@ -183,8 +183,9 @@
|
183
|
183
|
getPlaybackVideo({ cameraIndexCode }).then((resp) => {
|
184
|
184
|
const { url } = resp
|
185
|
185
|
if (url) {
|
186
|
|
- const { startTime, endTime } = date.value
|
187
|
|
- player.value.JS_Play(url, { playURL: url, mode }, 0, startTime, endTime).then(
|
|
186
|
+ const [realUrl, params] = url.split('?')
|
|
187
|
+ const [startTime, endTime] = date.value
|
|
188
|
+ player.value.JS_Play(realUrl, { playURL: realUrl, mode }, 0, startTime, endTime).then(
|
188
|
189
|
() => {
|
189
|
190
|
console.log('playbackStart success')
|
190
|
191
|
},
|
|
@@ -286,7 +287,7 @@
|
286
|
287
|
<div class="control w-[20%] h-full">
|
287
|
288
|
<a-tabs v-model:activeKey="activeKey">
|
288
|
289
|
<a-tab-pane key="1" tab="摄像头列表">
|
289
|
|
- 回放日期 <a-range-picker v-model:value="date" value-format="YYYY-MM-DDTHH:mm:ssZ" show-time />
|
|
290
|
+ 回放日期 <a-range-picker v-model:value="date" value-format="YYYY-MM-DDTHH:mm:ss.000+08:00" show-time />
|
290
|
291
|
<div class="mt-5">
|
291
|
292
|
<a-tree :tree-data="cameraListData" @select="cameraSelect" class="w-full">
|
292
|
293
|
<template #title="{ title, key }">
|