소스 검색

取消兼容旧版答题点

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) {