优化登录

This commit is contained in:
zhouyanli
2026-07-21 08:42:43 +08:00
parent 3a00c3dfe0
commit 51b7b5d20a
3 changed files with 7 additions and 3 deletions

View File

@@ -265,6 +265,8 @@ const handleLogin = () => {
const currentVillageId = res.data.currentVillageId || 0
uni.setStorageSync('currentVillageId', currentVillageId)
uni.hideLoading()
// 标记引导页已看过,下次启动跳过引导
uni.setStorageSync('hasShowGuide', true)
uni.showToast({
title: '登录成功',
icon: 'success'