|
@@ -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();
|
|
|
}
|
|
|
|
|
|
|