瀏覽代碼

Merge branch 'lhd'

natasha 2 天之前
父節點
當前提交
f55703bf8d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/book/courseware/create/components/question/notes/Notes.vue

+ 1 - 1
src/views/book/courseware/create/components/question/notes/Notes.vue

@@ -97,7 +97,7 @@ export default {
       let node_list = [];
       let node_list = [];
       this.data.option.forEach((item) => {
       this.data.option.forEach((item) => {
         node_list.push({
         node_list.push({
-          name: item.con,
+          name: item.con.replace(/<[^>]*>?/gm, ''),
           id: Math.random().toString(36).substring(2, 12),
           id: Math.random().toString(36).substring(2, 12),
         });
         });
       });
       });