用户信息接口对接Mock数据

This commit is contained in:
付民康
2025-03-17 19:25:02 +08:00
parent babcfda6bf
commit ecdb6e92b9
7 changed files with 17 additions and 13 deletions

View File

@@ -8,9 +8,9 @@
</d-breadcrumb>
<div class="version-detail-header">
<div class="header-top">
<GAvatar style="margin-right: 16px" :src="avatarUrl" name="Vue" :width="72" :height="72"></GAvatar>
<GAvatar style="margin-right: 16px" :name="accountInfo.username" :src="accountInfo.avatar" name="Vue" :width="72" :height="72"></GAvatar>
<div class="pt-24">
<div class="header-title1">UserName</div>
<div class="header-title1">{{ accountInfo.username || '--' }}</div>
<div class="header-div">
<span class="span1">介绍包含项目管理代码托管CI/CD 和制品库等功能提供完整的研发流程建议的新的团队</span>
</div>
@@ -44,11 +44,13 @@ import EarlyWarning from './Detail/EarlyWarning.vue';
import SubscribeList from './Detail/SubscribeList.vue';
import OrganizationManage from './OrganizationManage/OrganizationManage.vue';
import InvitationNoticeList from './Detail/InvitationNoticeList.vue';
import { useAccount } from '@/utils/hooks/useAccount';
const { namespace } = getOrgInfo();
const avatarUrl = '/src/assets/imgs/avatar/male.png';
const selectTab = ref('yjtzlb');
const { accountInfo, RemoveInfo } = useAccount();
// 删除弹窗
const item = ref('');