vue项目中 render函数直接操作html元素报错
摘要:
vue文件中,写法如下,会报语法错误 render(h, context) { const { icon, title } = context.props const vnodes = [] if (icon) { vnodes.push(<i class={icon}/>) } if (title 阅读全文
posted @ 2020-06-18 11:17 凉梁凉糕 阅读(3892) 评论(0) 推荐(0) 编辑