瀏覽代碼

修改bug

chenxiong 3 年之前
父節點
當前提交
ee6a06af4d
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 0 1
      common/signature.js
  2. 2 2
      pages2/bank/question_report.vue

+ 0 - 1
common/signature.js

@@ -77,7 +77,6 @@ class Handwriting {
 	}
 	// 笔迹移动
 	uploadScaleMove(event) {
-		console.log('move');
 		let e = event.mp
 		if (e.type != 'touchmove') return false;
 		if (e.cancelable) {

+ 2 - 2
pages2/bank/question_report.vue

@@ -131,7 +131,7 @@ export default {
 							context1.fillText(`满分${this.reportdata.totalScore}`, caculateX * 90, caculateX * 130, caculateX * 180);
 							context1.arc(caculateX * 90, caculateX * 90, caculateX * 80, 0, (this.reportdata.performance / this.reportdata.totalScore) * 2 * Math.PI, false);
 							context1.stroke();
-							context1.draw(true);
+							context1.draw();
 						}
 						
 						if(this.reportdata.examTime) {
@@ -154,7 +154,7 @@ export default {
 							context2.fillText(`限时${this.reportdata.examTime}'`, caculateX * 90, caculateX * 130, caculateX * 180);
 							context2.arc(caculateX * 90, caculateX * 90, caculateX * 80, 0, (this.reportdata.doTime / this.reportdata.examTime) * 2 * Math.PI, false);
 							context2.stroke();
-							context2.draw(true);
+							context2.draw();
 						}