問題描述:
立即退款時(shí)切換退款類型未重置狀態(tài)。
解決方法:
pages/admin/refund/index.vue,找到這個(gè)文件,修改 refundTypeChange 方法。
refundTypeChange(value) {
this.isSplit = value;
this.isAll = !value;
this.splitGoods.forEach(item => {
item.checked = !value;
});
this.goodsChecked = value ? [] : this.splitGoods;
},