chore(ai): remove env toggle and default AI assistant to settings switch

This commit is contained in:
Ray.Hao
2026-01-21 14:00:53 +08:00
parent f9f8d65340
commit b36efc6fc9
4 changed files with 7 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ const size = computed(() => appStore.size as ComponentSize);
const showWatermark = computed(() => settingsStore.showWatermark);
const watermarkContent = appConfig.name;
// 只有在启用 AI 助手且用户已登录时才显示
// 只有在用户启用 AI 助手且已登录时才显示
// 使用 userInfo 作为响应式依赖,当用户退出登录时会自动更新
const enableAiAssistant = computed(() => {
const isEnabled = settingsStore.enableAiAssistant;