优化跳转登录逻辑,退出登录,修改收据复制错误

This commit is contained in:
2024-06-19 17:17:30 +08:00
parent 4963d4f8a6
commit 31870c0222
4 changed files with 27 additions and 15 deletions

View File

@@ -291,6 +291,13 @@ Page({
alertInfo(message)
return
}
if (!data?.length) {
alertInfo("尚无信息")
wx.redirectTo({
url: '/pages/handleLogin/index',
})
return;
}
const [firstPark = {}] = data;
const { park, tenement } = this.data;
const updateDatas = {}