会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
X1aoYE
博客园
首页
新随笔
联系
订阅
管理
uniapp属性插值报错Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead.
解决方法:
因为vue 2.x不支持对属性使用插值{{}}的方式赋值,所以要使用v-bind指令(或简写“:”)来指定属性。
v-bind指令
v-bind:id="item.id"
v-bind简写指令:
:id="item.id"
posted @
2019-09-18 23:34
X1aoYE
阅读(
7178
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
公告