Merge pull request #325 from slovx2/main
fix(antigravity): 修复Antigravity 频繁429的问题,以及一系列优化,配置增强
This commit is contained in:
@@ -21,8 +21,20 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Right: Language + Subscriptions + Balance + User Dropdown -->
|
||||
<!-- Right: Docs + Language + Subscriptions + Balance + User Dropdown -->
|
||||
<div class="flex items-center gap-3">
|
||||
<!-- Docs Link -->
|
||||
<a
|
||||
v-if="docUrl"
|
||||
:href="docUrl"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="flex items-center gap-1.5 rounded-lg px-2.5 py-1.5 text-sm font-medium text-gray-600 transition-colors hover:bg-gray-100 hover:text-gray-900 dark:text-dark-400 dark:hover:bg-dark-800 dark:hover:text-white"
|
||||
>
|
||||
<Icon name="book" size="sm" />
|
||||
<span class="hidden sm:inline">{{ t('nav.docs') }}</span>
|
||||
</a>
|
||||
|
||||
<!-- Language Switcher -->
|
||||
<LocaleSwitcher />
|
||||
|
||||
@@ -211,6 +223,7 @@ const user = computed(() => authStore.user)
|
||||
const dropdownOpen = ref(false)
|
||||
const dropdownRef = ref<HTMLElement | null>(null)
|
||||
const contactInfo = computed(() => appStore.contactInfo)
|
||||
const docUrl = computed(() => appStore.docUrl)
|
||||
|
||||
// 只在标准模式的管理员下显示新手引导按钮
|
||||
const showOnboardingButton = computed(() => {
|
||||
|
||||
@@ -196,7 +196,8 @@ export default {
|
||||
expand: 'Expand',
|
||||
logout: 'Logout',
|
||||
github: 'GitHub',
|
||||
mySubscriptions: 'My Subscriptions'
|
||||
mySubscriptions: 'My Subscriptions',
|
||||
docs: 'Docs'
|
||||
},
|
||||
|
||||
// Auth
|
||||
|
||||
@@ -193,7 +193,8 @@ export default {
|
||||
expand: '展开',
|
||||
logout: '退出登录',
|
||||
github: 'GitHub',
|
||||
mySubscriptions: '我的订阅'
|
||||
mySubscriptions: '我的订阅',
|
||||
docs: '文档'
|
||||
},
|
||||
|
||||
// Auth
|
||||
|
||||
Reference in New Issue
Block a user