Browse Source

汉字重复重建

qinpeng 2 years ago
parent
commit
8e99470c54
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/wordcard/writeTable.vue

+ 3 - 3
src/views/wordcard/writeTable.vue

@@ -27,10 +27,10 @@
                         :BoxbgType="dataConfig.BoxbgType"
                         :targetDiv="
                             'write-item-miaohong-' +
-                            pageNumber + '-' + indexR + '-' + indexI + type + Math.random().toString(36).substr(2)
+                            pageNumber + '-' + indexR + '-' + indexI + type + itemI.con
                         "
                         :targetDivGray="'write-item-miaohong-gray-'+
-                            pageNumber + '-' + indexR + '-' + indexI + type + Math.random().toString(36).substr(2)"
+                            pageNumber + '-' + indexR + '-' + indexI + type + itemI.con"
                     />
                 </template>
                 <template v-else-if="itemI&&itemI.miaoRed">
@@ -43,7 +43,7 @@
                         :hanzicolor="dataConfig.miaoRedBgcolor"
                         :drawingColor="dataConfig.writeColor"
                         :BoxbgType="dataConfig.BoxbgType"
-                        :targetDiv="'write-item-' + pageNumber + '-' + indexR + '-' + indexI + type + Math.random().toString(36).substr(2)"
+                        :targetDiv="'write-item-' + pageNumber + '-' + indexR + '-' + indexI + type + itemI.con"
                      />
                 </template>
                 <div v-else-if="itemI" class="tian-div" @click="freeWrite(itemI,indexR,indexI)">