|
@@ -97,6 +97,18 @@ export default {
|
|
|
deep: true,
|
|
|
immediate: true,
|
|
|
},
|
|
|
+ isJudgingRightWrong(val) {
|
|
|
+ if (!val) return;
|
|
|
+ this.answer.answer_list.forEach(({ mark, value }) => {
|
|
|
+ this.modelEssay.forEach((item) => {
|
|
|
+ item.forEach((li) => {
|
|
|
+ if (li.mark === mark) {
|
|
|
+ li.content = value;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
created() {
|
|
|
document.addEventListener('click', this.handleBlur);
|