feat: remove AI toolbar button, show AI panel by default

This commit is contained in:
2026-06-16 16:43:36 +08:00
parent 9a990274d6
commit 0616f4a702
2 changed files with 1 additions and 4 deletions

View File

@@ -112,9 +112,6 @@ onMounted(() => restoreOrLoad())
<button @click="showPreview = !showPreview" :class="{ secondary: true, active: showPreview }">
{{ showPreview ? '📐 图谱' : '🎬 预览' }}
</button>
<button @click="store.showAIPanel = !store.showAIPanel" :class="{ secondary: true, active: store.showAIPanel }">
🤖 AI
</button>
</div>
</div>

View File

@@ -25,7 +25,7 @@ export const useEditorStore = defineStore('editor', () => {
const dirty = ref(false)
const sourcePath = ref('/scenes/demo.json')
const deepseekKey = ref(localStorage.getItem('deepseek_key') || '')
const showAIPanel = ref(false)
const showAIPanel = ref(true)
const aiCollapsed = ref(true)
const aiSessionId = ref('')
const aiChanges = ref<AIDiff | null>(null)