|
@@ -220,7 +220,7 @@ const getCanvas = () => {
|
|
|
ctx.lineWidth = 5;
|
|
|
ctx.stroke();
|
|
|
// 绘制每个点
|
|
|
- postData.forEach((point: any, index:number) => {
|
|
|
+ postData.forEach((point: any, index: number) => {
|
|
|
//眼睛鼻子不显示
|
|
|
if (![0, 1, 2].includes(index)) {
|
|
|
const [x, y] = point;
|