Эх сурвалжийг харах

Signed-off-by: liuboyan <632697560@qq.com>
注释

liuboyan 4 жил өмнө
parent
commit
e5b6f9bf05

+ 5 - 0
pagesMain/openMember.vue

@@ -198,9 +198,11 @@
 					}
 				})
 			},
+			//  重置
 			reset() {
 				context.draw()
 			},
+			//  签字版触屏开始
 			handleTouchStart(e) {
 				this.canvasData = []
 				const a = e.changedTouches[0]
@@ -209,6 +211,7 @@
 					y: a.y
 				})
 			},
+			//  签字版触屏移动
 			handleTouchMove(e) {
 				const a = e.changedTouches[0]
 				this.canvasData.push({
@@ -216,6 +219,7 @@
 					y: a.y
 				})
 			},
+			//  签字版触屏结束
 			handleTouchEnd(e) {
 				const a = e.changedTouches[0]
 				this.canvasData.push({
@@ -227,6 +231,7 @@
 				context.stroke()
 				context.draw(true)
 			},
+			//  提交签字
 			submitContract() {
 				if (!this.studentId) {
 					this.$refs.uTips.show({