优化提示太短问题

This commit is contained in:
wuxw 2024-07-02 10:38:10 +08:00
parent 8021afa907
commit ed8f6dbeba

View File

@ -386,7 +386,7 @@ export function authOwner(_data) {
wx.showToast({
title: msg,
icon: 'none',
duration: 2000
duration: 5000
});
return;
}
@ -397,10 +397,10 @@ export function authOwner(_data) {
data: _data,
success: function(res) {
let _json = res.data;
wx.showToast({
uni.showToast({
title: _json.msg,
icon: 'none',
duration: 2000
duration: 5000
});
if (_json.code != 0) {
reject(_json.msg);