|
@@ -80,7 +80,6 @@ const startRecord = (type: string) => {
|
|
|
duration: endTime.value - startTime.value
|
|
|
});
|
|
|
// 这里调path接口传路线数据过去,有几个设备就生成几个path
|
|
|
- // console.log(paths, 8888)
|
|
|
let positionPaths = sdk.generateAniPathData() || []
|
|
|
positionPaths.forEach(async(positionPath: any) => {
|
|
|
await postAddPathInPosition(positionPath, startTime.value, endTime.value)
|
|
@@ -94,15 +93,6 @@ const startRecord = (type: string) => {
|
|
|
// 刷新动画列表
|
|
|
// await initialAnimationModels()
|
|
|
}, 500)
|
|
|
- // positionList.value.forEach((pos: any) => {
|
|
|
- // // 寻找当前设备对应的path
|
|
|
- // let positionPath = positionPaths.find((path: any) =>{return '00' + pos.macId == path.id})
|
|
|
- // console.log(positionPaths, pos, positionPath, 88)
|
|
|
- // if(positionPath){
|
|
|
- // postAddPathInPosition(positionPath, startTime.value, endTime.value)
|
|
|
- // }
|
|
|
- // });
|
|
|
- // enterOld(async () => {})
|
|
|
}
|
|
|
};
|
|
|
|