|
@@ -86,14 +86,16 @@ export default defineComponent({
|
|
|
const userInfo = this.userInfo
|
|
|
return (
|
|
|
<div class={styles.single}>
|
|
|
- <SectionDetail
|
|
|
- icon="personal"
|
|
|
- title="个人介绍"
|
|
|
- size={24}
|
|
|
- border={false}
|
|
|
- >
|
|
|
- <p class={styles.introduction}>{userInfo.introduction}</p>
|
|
|
- </SectionDetail>
|
|
|
+ {userInfo.introduction && (
|
|
|
+ <SectionDetail
|
|
|
+ icon="personal"
|
|
|
+ title="个人介绍"
|
|
|
+ size={24}
|
|
|
+ border={false}
|
|
|
+ >
|
|
|
+ <p class={styles.introduction}>{userInfo.introduction}</p>
|
|
|
+ </SectionDetail>
|
|
|
+ )}
|
|
|
|
|
|
{userInfo.styleVideo && userInfo.styleVideo.length > 0 && (
|
|
|
<SectionDetail
|