Skip to content

Commit

Permalink
docs: 📖️Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ZRMYDYCG committed Mar 5, 2025
1 parent 83c9a79 commit d58dac8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<div align="center">
<img src="https://github.com/user-attachments/assets/5f6b9aac-7407-4531-a9a5-a83a49ac70d4">
<h1><a href="#">llm-mini-chat-client</a> <img src="https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif" width="25px"> </h1>
<h1><a href="#">llm-mini-chat-client</a></h1>
</div>

---

![img.png](public/img.png)
Binary file added public/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/layout/themes/default/components/user/index.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<template>
<div class="gc-user flex w-full items-center justify-center">
<img v-if="userInfo?.avatar" class="rounder-full h-[40px] w-[40px]" :src="userInfo.avatar" alt="用户头像" />
<img v-if="!userInfo?.avatar" class="rounder-full h-[40px] w-[40px]" :src="userInfo.avatar" alt="用户头像" />
<img v-else class="rounder-full h-[40px] w-[40px]" src="@/assets/default_avatar.png" alt="用户头像" />
<h3 class="ml-[10px] cursor-default text-sm text-nowrap text-gray-600">{{ nickname ? nickname : '未登录' }}</h3>
</div>
</template>

<script setup lang="ts">
import useUserStore from '@/store/modules/user'
import { useUserStore } from '@/store/modules/user'
import { computed } from 'vue'
const userStore = useUserStore()
Expand Down
2 changes: 1 addition & 1 deletion src/view/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</template>

<script setup lang="ts">
import useUserStore from '@/store/modules/user'
import { useUserStore } from '@/store/modules/user'
import { Unlock as IconUnlock, User as IconUser } from '@element-plus/icons-vue'
import { ElMessage, type FormInstance } from 'element-plus'
import { ref } from 'vue'
Expand Down

0 comments on commit d58dac8

Please sign in to comment.