From 3808eef026e82a10a4db6ab370f471864dd2e32c Mon Sep 17 00:00:00 2001 From: wanganxp Date: Wed, 8 Nov 2023 05:20:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=8E=AA=E8=BE=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit a140182e566fd404bb430de7ae035a1ecee4ae3d) --- pages/API/loading/loading.uvue | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/pages/API/loading/loading.uvue b/pages/API/loading/loading.uvue index 47639cd8..6e6d0753 100644 --- a/pages/API/loading/loading.uvue +++ b/pages/API/loading/loading.uvue @@ -24,9 +24,8 @@ - - + 为方便演示,loading弹出3秒后自动关闭 @@ -86,28 +85,13 @@ mask: this.maskSelect }); } - // #ifdef MP-ALIPAY - this._showTimer && clearTimeout(this._showTimer); - this._showTimer = setTimeout(() => { - this.hideLoading(); - }, 3000) - // #endif - // #ifdef APP-PLUS setTimeout(function () { this.hideLoading(); }, 3000); - // #endif }, hideLoading: function () { uni.hideLoading(); } } - // #ifdef MP-ALIPAY - , - onUnload() { - // 页面卸载的时候,手动关闭loading - this._showTimer && clearTimeout(this._showTimer); - } - // #endif } \ No newline at end of file -- GitLab