chore: 更新项目配置和依赖,优化前后端代码

This commit is contained in:
2026-04-04 20:05:40 +08:00
parent ef162de168
commit be4000b774
33 changed files with 2338 additions and 942 deletions
+4 -1
View File
@@ -2,10 +2,13 @@
import { ref, watch, computed, onMounted, onUnmounted } from 'vue'
import { useSettingsStore } from '../stores/settings'
import { useTheme } from '../composables/useTheme'
import packageJson from '../../package.json'
const store = useSettingsStore()
const { setTheme } = useTheme()
const VERSION = packageJson.version || '0.0.0'
const isOpen = ref(false)
let systemThemeMediaQuery = null
@@ -272,7 +275,7 @@ const t = (key) => store.t[key]
<div class="about-card">
<h4>llm-in-text</h4>
<p>A smart Markdown editor with local LLM intelligence.</p>
<p class="version">v0.1.0-beta</p>
<p class="version">v{{ VERSION }}</p>
</div>
</section>
</div>