diff --git a/src/main/resources/views/platform/sys/home/userInfo.js b/src/main/resources/views/platform/sys/home/userInfo.js
index f96642a..0599360 100644
--- a/src/main/resources/views/platform/sys/home/userInfo.js
+++ b/src/main/resources/views/platform/sys/home/userInfo.js
@@ -7,8 +7,8 @@ const userInfo = {
π¨βπ«ζηε§εοΌ${@shiro.getPrincipalProperty('username')}
πζηε·₯ε·οΌ${@shiro.getPrincipalProperty('loginname')}
βζηζ§ε«οΌ${@shiro.getPrincipalProperty('sex')}
- π’ζηεδ½οΌ${@shiro.getPrincipalProperty('unit').getName()}
- π€ζηε·₯δΌοΌ${@shiro.getPrincipalProperty('union').getUnionname()}
+ π’ζηεδ½οΌ${@shiro.getPrincipalProperty('unit') != null ? @shiro.getPrincipalProperty('unit').getName() : 'ζζ εδ½'}
+ π€ζηε·₯δΌοΌ${@shiro.getPrincipalProperty('union') != null ? @shiro.getPrincipalProperty('union').getUnionname() : 'ζζ ε·₯δΌ'}
πη³»η»θ§θ²οΌ
${@role.getName()}