瀏覽代碼

取消兼容旧版答题点

zhangjie 3 年之前
父節點
當前提交
8cbd73e86e
共有 1 個文件被更改,包括 0 次插入5 次删除
  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) {