From aef69496cea39d9a78372e267714e87a0d569e67 Mon Sep 17 00:00:00 2001 From: Hx <2294602187@qq.com> Date: Mon, 31 Mar 2025 14:53:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=BE=E5=88=B0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mine/add.vue | 4 +++- src/pages/mine/index.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/mine/add.vue b/src/pages/mine/add.vue index fc58bd7..b017f89 100644 --- a/src/pages/mine/add.vue +++ b/src/pages/mine/add.vue @@ -31,7 +31,9 @@ const onSubmit = uni.$util.debounce(() => { addAPi(formData).then(() => { uni.hideLoading() - uni.switchTab({ url: '/pages/mine/index' }) + uni.showToast({ title: '签到成功,等待投票!', icon: 'none' }) + + setTimeout(() => uni.switchTab({ url: '/pages/mine/index' }), 1000) }) } }) diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue index 50af5a5..39b7a44 100644 --- a/src/pages/mine/index.vue +++ b/src/pages/mine/index.vue @@ -38,7 +38,7 @@ const updateUserInfo = () => { userStore.bindUser(list.value[activeKey.value].id as number).then(() => { reset() userStore.getUserInfo() - uni.showToast({ title: '绑定成功', icon: 'none' }) + uni.showToast({ title: '签到成功,等待投票!', icon: 'none' }) }) }