vue项目Uncaught (in promise) Provided element is not within a Document
Uncaught (in promise) Provided element is not within a Document在methods中直接使用 document 获取div ,造成的bug修改方案:在data中定义变量在 mounted 中获取并赋值在methods中使用变量...
原创
2020-04-28 15:45:21 ·
1983 阅读 ·
0 评论