From ed8f6dbebac3de9b9f8fdc58ac17d5b31b9f2046 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Tue, 2 Jul 2024 10:38:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA=E5=A4=AA?= =?UTF-8?q?=E7=9F=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/owner/ownerApi.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);