Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue 2.6.11 报错 #34

Open
nightmaring opened this issue Nov 8, 2021 · 0 comments
Open

vue 2.6.11 报错 #34

nightmaring opened this issue Nov 8, 2021 · 0 comments

Comments

@nightmaring
Copy link

文件:/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版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant