修改状态
This commit is contained in:
@@ -58,6 +58,12 @@ Page({
|
||||
const { token, ...user } = data
|
||||
wx.setStorageSync('user', user)
|
||||
wx.setStorageSync('token', data?.token)
|
||||
// if (user.workStatus) {
|
||||
// wx.redirectTo({
|
||||
// url: '/pages/workBenchNew/index',
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
wx.switchTab({
|
||||
url: '/pages/home/index',
|
||||
})
|
||||
|
Reference in New Issue
Block a user