bug修复
This commit is contained in:
parent
9e61a4ca79
commit
10f0eac0db
|
|
@ -61,7 +61,7 @@ onMounted(async () => {
|
||||||
uni.setStorageSync('password', loginForm.password)
|
uni.setStorageSync('password', loginForm.password)
|
||||||
uni.setStorageSync('id', res.user.userId)
|
uni.setStorageSync('id', res.user.userId)
|
||||||
uni.setStorageSync('deptName', res.user?.dept?.deptName)
|
uni.setStorageSync('deptName', res.user?.dept?.deptName)
|
||||||
|
uni.setStorageSync('urlPermissions',res.urlPermissions?res.urlPermissions:[])
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index',
|
url: '/pages/index/index',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue