请求失败的提示
This commit is contained in:
@ -285,9 +285,9 @@
|
||||
fail: (err) => {
|
||||
// 请求失败的回调函数
|
||||
uni.showToast({
|
||||
title: '请求失败' + err,
|
||||
title: '请求失败:' + err.errMsg,
|
||||
icon: 'none',
|
||||
duration: 4000
|
||||
duration: 3000
|
||||
});
|
||||
|
||||
this.clear();
|
||||
@ -359,9 +359,9 @@
|
||||
fail: (err) => {
|
||||
// 请求失败的回调函数
|
||||
uni.showToast({
|
||||
title: '请求失败' + err,
|
||||
title: '请求失败:' + err.errMsg,
|
||||
icon: 'none',
|
||||
duration: 4000
|
||||
duration: 3000
|
||||
});
|
||||
|
||||
this.clear();
|
||||
|
Reference in New Issue
Block a user