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是不支持對屬性使用
相關文章
相關標籤/搜索