https://blog.csdn.net/weixin_44233892/article/details/106120932
// 不可叠加
retainRecord(index) {
// 可以写些单选框选中的代码处理
this.changed = true;
console.log("retainRecord", index);
this.odeleid = this.myCar[index].voucherNo;
console.log("不可叠加已选", this.odeleid);
},
oSeletCar(event) {
let _this = this;
window.setTimeout(() => {
if (!this.changed) {
event.target.checked = false;
// 可以写些单选框没有选中的代码处理
}
_this.changed = false;
}, 0);
}