@@ -364,6 +364,9 @@
userId: item.userInfoId,
id: item.id,
});
+ if (res.code == 200) {
+ this.getcardPack();
+ }
},
//跳转添加银行卡
addBankCard() {
@@ -398,12 +401,14 @@
* @param {Boolean} val - 单选按钮的选中状态
*/
async setDefaultCard(val, item) {
- console.log(item);
this.defaultCard = val;
let res = await this.$http.post('/userBankCard/setDefaultCard', {
// 实际项目这里应调用API更新默认卡
async getcardPack() {