diff --git a/api/owner/ownerApi.js b/api/owner/ownerApi.js index 1fbc615..ed00ba7 100644 --- a/api/owner/ownerApi.js +++ b/api/owner/ownerApi.js @@ -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);