优化: 清理无意义注释(走查编号前缀/过时历史标注/死代码注释)
This commit is contained in:
@@ -86,7 +86,7 @@ import SettingRow from './SettingRow.vue'
|
||||
|
||||
const { t } = useI18n()
|
||||
const appSettings = useAppSettingsStore()
|
||||
// F-260620: 接共享 toast 通道(Settings.vue showToast),替代 console.error/warn 用户零反馈
|
||||
// 接共享 toast 通道(Settings.vue showToast),替代 console.error/warn 用户零反馈
|
||||
const emit = defineEmits<{ (e: 'toast', msg: string, type: 'error' | 'warning' | 'info' | 'success'): void }>()
|
||||
|
||||
// F-260619-03 Phase A: AI 工具文件访问授权目录白名单 UI
|
||||
@@ -126,7 +126,7 @@ async function pickDir() {
|
||||
const selected = await open({ directory: true, multiple: false })
|
||||
if (!selected || Array.isArray(selected)) return
|
||||
newDir.value = selected as string
|
||||
// F-260620: 选完即加(消除选目录后需二次点"添加"的摩擦)
|
||||
// 选完即加(消除选目录后需二次点"添加"的摩擦)
|
||||
await addDir()
|
||||
} catch (e) {
|
||||
console.error('选择目录失败:', e)
|
||||
|
||||
Reference in New Issue
Block a user