From ea5f66b1904a7b8712b742bbbaef373c0f043b44 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Wed, 6 Nov 2024 18:45:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/workPlan/messagePush/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/workPlan/messagePush/index.vue b/pages/workPlan/messagePush/index.vue index 69b2506..67d9e00 100644 --- a/pages/workPlan/messagePush/index.vue +++ b/pages/workPlan/messagePush/index.vue @@ -188,7 +188,7 @@ export default { const sendPhoneList = this.phoneStr.split(',') console.log('sendPhoneList', sendPhoneList) - + uni.showLoading({ title: '短信正在发送,请勿刷新页面或重复点击!' }) new Promise((resolve, reject) => { let promisesFun = [] @@ -239,12 +239,14 @@ export default { }) .then(res => { // console.log('短信发送结果---') + uni.hideLoading() uni.showToast({ title: '短信发送成功!', icon: 'none' }) setTimeout(() => { uni.navigateBack() }, 500) }) .catch(err => { + uni.hideLoading() console.log('短信发送失败') }) }