fix: 修复用户没有岗位,个人中心初始内容不显示

pull/169/head
icaiwei 2025-07-09 16:30:20 +08:00
parent 4d491fbc6b
commit 67b27f77c8
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ async function handelUpload({
所属岗位 所属岗位
</div> </div>
</template> </template>
{{ profile.posts.map((post) => post.name).join(',') }} {{ profile.posts && profile.posts.length > 0 ? profile.posts.map(post => post.name).join(',') : '-' }}
</DescriptionsItem> </DescriptionsItem>
<DescriptionsItem> <DescriptionsItem>
<template #label> <template #label>