浏览代码

日常开发

林旭祥 1 月之前
父节点
当前提交
49ebe11a8e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/game/humanBody.vue

+ 1 - 1
src/views/game/humanBody.vue

@@ -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;