|
|
|
@ -114,15 +114,12 @@ onShow(() => { |
|
|
|
}) |
|
|
|
} else if (isEmptyObject(userStore.userInfo)) { |
|
|
|
showDialogRef.value.show = true |
|
|
|
} else if (!userStore.showtoast) { |
|
|
|
userStore.showtoast = true |
|
|
|
uni.showToast({ title: '签到成功,等待投票!', icon: 'success', duration: 1000 }) |
|
|
|
setTimeout(() => reListRef.value.refreshFn(), 1100) |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
title: '签到成功,等待投票!', |
|
|
|
icon: 'success', |
|
|
|
duration: 1000, |
|
|
|
complete: () => { |
|
|
|
setTimeout(() => reListRef.value.refreshFn(), 1100) |
|
|
|
} |
|
|
|
}) |
|
|
|
reListRef.value.refreshFn() |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
|