fix:新增了数据库目录的提醒

This commit is contained in:
xuncha committed 2026-01-17 12:41:45 +08:00
1 parent 9402483d87
commit 7c0ed66dad
2 files changed
+2

No files matched your search

+1
View File
@@ -664,6 +664,7 @@ function SettingsPage() {
<div className="form-group">
<label>数据库根目录</label>
<span className="form-hint">xwechat_files 目录</span>
<span className="form-hint" style={{ color: '#ff6b6b' }}>⚠️ 目录路径不可包含中文,如有中文请去微信-设置-存储位置点击更改,迁移至全英文目录</span>
<input type="text" placeholder="例如: C:\Users\xxx\Documents\xwechat_files" value={dbPath} onChange={(e) => setDbPath(e.target.value)} />
<div className="btn-row">
<button className="btn btn-primary" onClick={handleAutoDetectPath} disabled={isDetectingPath}>
+1
View File
@@ -442,6 +442,7 @@ function WelcomePage({ standalone = false }: WelcomePageProps) {
</button>
</div>
<div className="field-hint">建议选择包含 xwechat_files 的目录</div>
<div className="field-hint" style={{ color: '#ff6b6b', marginTop: '4px' }}>⚠️ 目录路径不可包含中文,如有中文请去微信-设置-存储位置点击更改,迁移至全英文目录</div>
</div>
)}