遇到 Uncaught(in promise)
this.$reqGet(`${WATERFALL}`).then(res=>{
console.log(res);
}).catch(e=>{
console.log(e);
});
解决:添加catch
遇到 Uncaught(in promise)
this.$reqGet(`${WATERFALL}`).then(res=>{
console.log(res);
}).catch(e=>{
console.log(e);
});
解决:添加catch