From ddd34f3c85e426ff19dcbab4daa4fa3d40e998c0 Mon Sep 17 00:00:00 2001 From: 梁保满 Date: Wed, 29 Mar 2023 09:39:00 +0800 Subject: [PATCH] 修改答案去掉删除按钮 --- src/views/examinationPaper/edit.vue | 46 ++++++++++------------------------------------ 1 file changed, 10 insertions(+), 36 deletions(-) diff --git a/src/views/examinationPaper/edit.vue b/src/views/examinationPaper/edit.vue index d5e2f8e..33022b1 100644 --- a/src/views/examinationPaper/edit.vue +++ b/src/views/examinationPaper/edit.vue @@ -137,8 +137,8 @@

-
- - - - -
+ + --> @@ -283,8 +270,8 @@

-
- - - - -
+ + --> @@ -577,13 +551,13 @@ export default { this.dialogStem = true; }, openTag(obj, type, index, indexs) { - console.log(obj) + console.log(obj); //难度,知识点 this.stem = { ...this.stem, obj }; this.stem.type = type; this.stem.index = index; this.stem.indexs = indexs; - this.stem.knowledge = obj.knowledge&&obj.knowledge.split(",") || []; + this.stem.knowledge = (obj.knowledge && obj.knowledge.split(",")) || []; this.stem.difficultyFactor = obj.difficultyFactor || ""; this.dialogTag = true; }, -- libgit2 0.21.4