Closed sdjn-wxy closed 3 years ago
:heavy_check_mark: Deploy preview for qaq-react ready!
:hammer: Explore the source changes: a62fe203af8fa16ce9d6b51aa78eb2fe48890020
:mag: Inspect the deploy logs: https://app.netlify.com/sites/qaq-react/deploys/5fef390827483000077fec42
:sunglasses: Browse the preview: https://deploy-preview-98--qaq-react.netlify.app
添加了函数 userInfo() ,用于判断当前用户是否登录:
若未登录:返回null
若已登陆:返回当前用户的完整用户信息(Json格式)
(并针对浏览器的不同版本进行了适配)