VueJS 踩坑之组件注册中元素属性绑定

vue Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}"use 这是我当时通过props传值给组件绑定id属性时出现的错误,出现这样的错误原因是vue 2.x是不支持对属性使用
相关文章
相关标签/搜索