natasha 3 недель назад
Родитель
Сommit
62ba6d22c6
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      src/views/book/courseware/preview/components/table/TablePreview.vue

+ 9 - 0
src/views/book/courseware/preview/components/table/TablePreview.vue

@@ -1507,6 +1507,15 @@ export default {
               this.isHasInput = true;
               this.isHasInput = true;
             }
             }
           });
           });
+          items.rich_text_list.forEach((li) => {
+            if (li.word_list) {
+              li.word_list.forEach((lis) => {
+                if (lis.type === 'input') {
+                  this.isHasInput = true;
+                }
+              });
+            }
+          });
           if (items.rich_text_list) {
           if (items.rich_text_list) {
             this.data.option_list[index][indexs].rich_text_list = this.parsedBlocks(items);
             this.data.option_list[index][indexs].rich_text_list = this.parsedBlocks(items);
           }
           }