This commit is contained in:
@fawn-nine
2024-06-25 17:15:28 +08:00
parent ec8e9a800c
commit ae76153eb7
2 changed files with 7 additions and 1 deletions

View File

@@ -181,7 +181,8 @@
} }
}).catch(e => { }).catch(e => {
console.log(e, '报错')
console.log(e.errMsg, '报错')
}) })
}, },
// 获取购物车数据 // 获取购物车数据
@@ -397,6 +398,10 @@
console.log(e, '报错') console.log(e, '报错')
this.courseList = [] this.courseList = []
this.status = 1 this.status = 1
uni.showToast({
title:`${e.errMsg}`,
icon:'none'
})
}); });
}, },
itemClick(op) { itemClick(op) {

View File

@@ -133,6 +133,7 @@
} }
this.flag = true this.flag = true
}).catch(e => { }).catch(e => {
this.status = 3
console.log(e,'数据报错') console.log(e,'数据报错')
}); });
} }