@@ -227,6 +227,7 @@ export interface SDK {
goFloor: (num: number) => void;
getFloorCount: () => number;
generateAniPathData: () => any
+ startRecordPath: () => any
setFollowDevice: (macId: any) => void
}
@@ -59,7 +59,7 @@ const startRecord = (type: string) => {
timer = setInterval(() => {
recordingTime.value = Math.floor((Date.now() - startTime.value) / 1000);
}, 1000);
- let isSave = false;
+ sdk.startRecordPath()
} else {
// 停止录制
isRecord.value = false;