Browse Source

取消兼容旧版答题点

zhangjie 3 years ago
parent
commit
8cbd73e86e
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/features/examwork/StudentExamDetail/spins/renderJSON.js

+ 0 - 5
src/features/examwork/StudentExamDetail/spins/renderJSON.js

@@ -81,11 +81,6 @@ function renderBlock(block, inline) {
     } else {
       node = document.createTextNode(block.value);
     }
-
-    // TODO: 兼容旧版填空题答题点做的修改,后续可以删除
-    if (block.param && block.param.display === "none") {
-      node = document.createTextNode("");
-    }
   } else if (block.type === "image") {
     node = document.createElement("img");
     if (inline === true) {