From 9a002f1df827ffc9e16f9a520277f562e20deee3 Mon Sep 17 00:00:00 2001 From: maxmon <541182180@qq.com> Date: Sat, 16 Apr 2022 22:24:36 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20point=E6=94=B9=E6=88=90points?= =?UTF-8?q?=EF=BC=8C=E4=B8=BA=E5=90=8E=E7=BB=AD=E7=9A=84=E6=A1=86=E3=80=81?= =?UTF-8?q?=E5=A4=9A=E8=BE=B9=E5=BD=A2=E5=8C=BA=E5=9F=9F=E5=81=9A=E7=BB=9F?= =?UTF-8?q?=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/src/components/CV/point.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fe/src/components/CV/point.vue b/fe/src/components/CV/point.vue index 13ffc8c..2f63a19 100644 --- a/fe/src/components/CV/point.vue +++ b/fe/src/components/CV/point.vue @@ -2,9 +2,9 @@
-
@@ -60,11 +60,10 @@ export default ({ } const tar = ev.target const newPoint = [ev.offsetX / tar.offsetWidth, ev.offsetY / tar.offsetHeight] - console.log(newPoint) // this.points.push(newPoint) // console.log(this.points) this.annoDetails.push({ - point: newPoint, + points: [newPoint], type: this.nowType }) this.save()