better-scroll影响vue中radio和checkbox的双向数据绑定

我的解决办法:radio


<input v-model="answer" type="radio" name="answer" value="1" @focus="answer=1">
<input v-model="answer" type="radio" name="answer" value="2" @focus="answer=2">

checkbox

<input  type="checkbox" v-model="tobuy" @change="tobuy=$event.target.checked">
原文地址:https://www.cnblogs.com/sgqwjr/p/7723043.html