vue-ueditor icon indicating copy to clipboard operation
vue-ueditor copied to clipboard

vue 2.6.11 报错

Open nightmaring opened this issue 3 years ago • 0 comments

文件:/src/components/UEditor.vue

<template>
  <script :id="randomId" name="content" type="text/plain"></script>
</template>

使用document.getElementById(this.randomId)获取为null。

经测试发现,需要script外面套一层div。

目前暂时退回2.6.10版本

nightmaring avatar Nov 08 '21 12:11 nightmaring