vue
小白家的兔兔
这个作者很懒,什么都没留下…
展开
-
nuxt生产环境报错:Failed to execute ‘appendChild‘ on ‘Node‘: This node type does not support this method
错误描述nuxt项目在本地运行控制台会输出如下提示,但是不影响正常使用warning:The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody原创 2021-11-03 15:10:54 · 4740 阅读 · 1 评论 -
vue 使用v-html渲染出来的内容在style中修改样式不生效
例:在style中这样修改并没有甚么用解决:方法一:去掉style的scoped属性为了避免样式污染,所以新建一个没有 scoped 的 style(一个.vue文件允许多个style)方法二:使用css的深度选择器>>>来穿透scoped有些sass 之类的预处理器无法正确解析 >>>。可以使用 /deep/ 操作符( >>> 的别名)备注:使用/deep/方法/deep/ .box{ // ...}...原创 2020-06-17 15:00:21 · 1596 阅读 · 0 评论