소스 검색

Update index.tsx

lex 2 년 전
부모
커밋
946ce5e9d5
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/business-components/user-detail/index.tsx

+ 3 - 0
src/business-components/user-detail/index.tsx

@@ -98,6 +98,9 @@ export default defineComponent({
             v-slots={{
               icon: () => (
                 <Image
+                  onClick={() => {
+                    this.onUserDetail(this.userInfo)
+                  }}
                   class={styles.avatar}
                   src={this.userInfo.headUrl || defaultIcon}
                   fit="cover"