Merge branch 'dev' into test

This commit is contained in:
sophie committed 2026-06-05 15:02:52 +08:00
commit 81e5cbea1f
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
export const config = {
appTitle: 'AI工作台',
appTitle: '和信AI智能工作台',
auth: {
// Login mode switch:
// - 'casdoor': submit username/password to backend Casdoor password-login API.
+2 -2
View File
@@ -2776,8 +2776,8 @@ const showChatRating = ref(false);
<!-- Bottom Icons -->
<div class="flex items-center justify-between text-muted relative" ref="userMenuRef">
<button @click="showUserDropdown = !showUserDropdown" class="flex h-8 w-8 items-center justify-center rounded-full bg-brand-600 text-sm font-bold text-white shadow-sm shadow-brand-500/20 hover:bg-brand-700 transition-colors">
{{ (currentUser?.username || 'I').charAt(0).toUpperCase() }}
<button @click="showUserDropdown = !showUserDropdown" class="flex h-10 min-w-[2.5rem] items-center justify-center rounded-full bg-brand-600 px-3 text-sm font-bold text-white shadow-sm shadow-brand-500/20 transition-colors hover:bg-brand-700">
退出
</button>
<!-- User Dropdown Menu -->
+1 -1
View File
@@ -1515,7 +1515,7 @@ onBeforeUnmount(() => {
<div v-else>
<header v-if="isMobile" class="sticky top-0 z-30 flex items-center justify-between border-b border-default bg-surface px-4 py-2.5">
<div class="flex items-center gap-2">
<button @click="navigateToGeneralChat" class="flex h-7 w-7 items-center justify-center rounded-lg bg-gradient-to-br from-brand-500 via-brand-600 to-purple-600 text-xs font-bold text-white shadow-sm shadow-brand-500/20" :title="$t('workspace.nav.backToChat')">AI</button>
<button @click="navigateToGeneralChat" class="flex h-7 w-7 items-center justify-center rounded-lg bg-gradient-to-br from-brand-500 via-brand-600 to-purple-600 text-xs font-bold text-white shadow-sm shadow-brand-500/20" :title="$t('workspace.nav.backToChat')">返</button>
<span class="text-sm font-semibold text-primary">{{ mobileTabTitle }}</span>
</div>
</header>