src/layout/components/UserInfo/src/UserInfo.vue
@@ -23,7 +23,7 @@ const prefixCls = getPrefixCls('user-info') const avatar = computed(() => userStore.user.avatar ?? avatarImg) const avatar = computed(() => userStore.user.avatar || avatarImg) const userName = computed(() => userStore.user.nickname ?? 'Admin') // 锁定屏幕 @@ -50,7 +50,7 @@ push('/user/profile') } const toDocument = () => { window.open('https://xxxx/') window.open('https://doc.iocoder.cn/') } </script>