feat: ✨ 完善会话管理,新增回话管理详情接口和覆盖修改逻辑

This commit is contained in:
何嘉悦
2025-05-26 19:48:39 +08:00
parent b00380d617
commit edbb5ec5ba
11 changed files with 192 additions and 84 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ function onAfterLeave() {
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(3px);
z-index: 99999;
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
+18 -2
View File
@@ -1,5 +1,6 @@
<!-- 欢迎提示词 -->
<script setup lang="ts">
import { Typewriter } from 'vue-element-plus-x';
import { useTimeGreeting } from '@/hooks/useTimeGreeting';
import { useUserStore } from '@/stores';
@@ -13,8 +14,23 @@ const username = computed(() => userStore.userInfo?.username ?? '我是 Element
<div
class="welcome-text w-full flex flex-wrap items-center justify-center text-center text-lg font-semibold mb-32px mt-12px font-size-32px line-height-32px"
>
{{ greeting }}好,{{ username }}
<Typewriter
:content="`${greeting}好,${username}`"
:typing="{
step: 2,
interval: 45,
}"
:is-fog="{
bgColor: '#fff',
}"
/>
</div>
</template>
<style scoped lang="scss"></style>
<style scoped lang="scss">
:deep {
.typer-container {
overflow: initial;
}
}
</style>