修复: 设置页和分离窗口渲染崩溃(TDZ + 窗口权限通配符)

- AdvancedSection clampApprovalTimeout 常量移到 reactive 之前(打包后 const 初始化顺序 TDZ)
- @/i18n 去掉对 @/stores/appSettings 的 import,改直读 localStorage
- Tauri capability 加 ai-detached-* / fe-detached-* 通配符(分离窗口 listen 权限)
This commit is contained in:
2026-07-01 00:48:07 +08:00
parent 3758bea0b5
commit bce2fea4e5
4 changed files with 20 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
{
"identifier": "default",
"description": "DevFlow default permissions",
"windows": ["main", "ai-detached"],
"windows": ["main", "ai-detached", "ai-detached-*", "fe-detached-*"],
"permissions": [
"core:default",
"core:event:default",