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('短信发送失败') }) }