natasha 3 týždňov pred
rodič
commit
56b1dfb679

+ 2 - 2
src/views/book/courseware/preview/components/character/CharacterPreview.vue

@@ -52,7 +52,7 @@
                         : null
                     "
                     :type="data.property.model === 'input' ? 'newWord-template-input' : data.type"
-                    :targetDiv="'newWordTemplates' + items.con + index + indexs"
+                    :targetDiv="'newWordTemplates' + items.con + index + indexs + Math.random().toString(36)"
                     :hz_json="items.hz_info[0].hzDetail.hz_json"
                     :bgType="data.property.frame_type"
                     class="hanzi-storck"
@@ -155,7 +155,7 @@
                     :Book_text="items.con"
                     :playStorkes="isEnable(data.property.is_enable_stroke)"
                     :curItem="null"
-                    :targetDiv="'newWordTemplates' + items.con + index + indexs"
+                    :targetDiv="'newWordTemplates' + items.con + index + indexs + Math.random().toString(36)"
                     :hz_json="items.hz_info[0].hzDetail.hz_json"
                     class="hanzi-storck"
                     :class="['strock-chinese', 'border-right-none']"

+ 2 - 2
src/views/book/courseware/preview/components/newWord_template/NewWordTemplatePreview.vue

@@ -128,7 +128,7 @@
                       : null
                   "
                   :type="data.property.model === 'input' ? 'newWord-template-input' : data.type"
-                  :targetDiv="'newWordTemplate' + items.con + index + indexs"
+                  :targetDiv="'newWordTemplate' + items.con + index + indexs + Math.random().toString(36)"
                   :hz_json="items.hz_info[0].hzDetail.hz_json"
                   class="hanzi-storck"
                   :class="[
@@ -306,7 +306,7 @@
                         : null
                     "
                     :type="data.property.model === 'input' ? 'newWord-template-input' : data.type"
-                    :targetDiv="'newWordTemplatez' + items.con + index + indexs"
+                    :targetDiv="'newWordTemplatez' + items.con + index + indexs + Math.random().toString(36)"
                     :hz_json="items.hz_info[0].hzDetail.hz_json"
                     class="hanzi-storck"
                     :class="[