优化图标,修改模拟数据

This commit is contained in:
2025-11-29 18:30:28 +08:00
parent 0eb8ac9181
commit 7be5b1b66c
9 changed files with 31 additions and 26 deletions

View File

@@ -66,7 +66,9 @@ async function handleLogin() {
uni.showToast({ title: '登录成功', icon: 'success' })
setTimeout(() => {
uni.navigateBack()
uni.switchTab({
url: '/pages/index/index'
})
}, 1500)
} catch (error) {
uni.showToast({ title: '登录失败', icon: 'none' })