浏览代码

添加.replaceAll("#", "")

11wqe1 11 月之前
父节点
当前提交
27d4c49b4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/easy2/studyStudent.vue

+ 1 - 1
src/components/easy2/studyStudent.vue

@@ -12675,7 +12675,7 @@ export default {
              
               let elist = JSON.parse(JSON.stringify(this.chapInfoList[0].chapterInfo[0].taskJson[i].eList[k]))
               // this.chapInfoList[0].chapterInfo[0].taskJson[i].eList[k].rule=JSON.parse(JSON.stringify(content.replaceAll("#", "")))
-              elist.rule = JSON.parse(JSON.stringify(content))
+              elist.rule = JSON.parse(JSON.stringify(content.replaceAll("#", "")))
               this.$set(this.chapInfoList[0].chapterInfo[0].taskJson[i].eList,k,elist)
               this.$forceUpdate();
               let params2 = [