wenbobowen %!s(int64=4) %!d(string=hai) anos
pai
achega
8de3f52e95
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/input/normalArea.vue

+ 1 - 1
src/components/input/normalArea.vue

@@ -134,7 +134,7 @@ export default {
           this.inputValue = newStr
           // 光标最后
           this.$nextTick(() => {
-            var ifra = document.getElementById(`tinymce_${id}`);
+            var ifra = document.getElementById(`tinymce_${this.id}`);
             this.keepLastIndex(ifra.contentWindow.document.getElementById(`tinymce`), ifra.contentWindow)
           })
         }