遇到 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
转载于:https://www.cnblogs.com/yyxh/p/10436029.html