请求失败的提示

This commit is contained in:
hehaibing-1996
2025-02-25 16:40:30 +08:00
parent 90c631a623
commit b3e8beeeee

View File

@ -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();