mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-12 10:00:57 +08:00
优化提示太短问题
This commit is contained in:
parent
8021afa907
commit
ed8f6dbeba
@ -386,7 +386,7 @@ export function authOwner(_data) {
|
|||||||
wx.showToast({
|
wx.showToast({
|
||||||
title: msg,
|
title: msg,
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 2000
|
duration: 5000
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -397,10 +397,10 @@ export function authOwner(_data) {
|
|||||||
data: _data,
|
data: _data,
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
let _json = res.data;
|
let _json = res.data;
|
||||||
wx.showToast({
|
uni.showToast({
|
||||||
title: _json.msg,
|
title: _json.msg,
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 2000
|
duration: 5000
|
||||||
});
|
});
|
||||||
if (_json.code != 0) {
|
if (_json.code != 0) {
|
||||||
reject(_json.msg);
|
reject(_json.msg);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user