This commit is contained in:
熊成强 2020-11-20 14:35:38 +08:00
parent 4a0cf97b22
commit 6ce8f67b7e

View File

@ -4,7 +4,7 @@ import * as dd from 'dingtalk-jsapi'
const user = {
state: {
deplist: [],
info: dd.other ? JSON.parse(localStorage.getItem('info')) : {},
info: dd.other ? (JSON.parse(localStorage.getItem('info')) || {}) : {},
auth: JSON.parse(localStorage.getItem('auth')) || {}
},