mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化提示太短问题
This commit is contained in:
parent
8021afa907
commit
ed8f6dbeba
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user