在input的value属性中使用双向绑定,结果报错Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead,这是由于vue2.0中在使用input的时候必须使用v-model这样才可以,而在vue1.0中却可以使用这种双向绑定
vue2.0双向绑定不起效果
最新推荐文章于 2025-04-17 16:22:06 发布