提交 d86304bb 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

fix: 地图删除圆错误

上级 7b768069
......@@ -453,7 +453,7 @@
};
const removeCircle = () => {
if (circles.value.length > 1) {
circles.value = JSON.parse<Circle[]>(JSON.stringify(testCircles))!.splice(0, 1);
circles.value = JSON.parse<Circle[]>(JSON.stringify(testCircles))!.slice(1);
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册