优化
This commit is contained in:
parent
4a0cf97b22
commit
6ce8f67b7e
@ -4,7 +4,7 @@ import * as dd from 'dingtalk-jsapi'
|
|||||||
const user = {
|
const user = {
|
||||||
state: {
|
state: {
|
||||||
deplist: [],
|
deplist: [],
|
||||||
info: dd.other ? JSON.parse(localStorage.getItem('info')) : {},
|
info: dd.other ? (JSON.parse(localStorage.getItem('info')) || {}) : {},
|
||||||
auth: JSON.parse(localStorage.getItem('auth')) || {}
|
auth: JSON.parse(localStorage.getItem('auth')) || {}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user