diff --git a/src/api/media/channel.ts b/src/api/media/channel.ts index e7b53af3..06b80f65 100644 --- a/src/api/media/channel.ts +++ b/src/api/media/channel.ts @@ -42,7 +42,7 @@ export default { server.post(`/media/device/${deviceId}/${channelId}/_record`, data), // 停止录像 - recordStop: (deviceId: string, channelId: string, data: any) => + recordStop: (deviceId: string, channelId: string, data?: any) => server.post(`/media/device/${deviceId}/${channelId}/_stop-record`, data), // 查询本地回放记录 diff --git a/src/components/Search/Search.vue b/src/components/Search/Search.vue index 021a0d7d..005db593 100644 --- a/src/components/Search/Search.vue +++ b/src/components/Search/Search.vue @@ -1,5 +1,5 @@