fix: add error handling to Barcodes, Tasks, Logs, Sync views

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-12 21:41:50 +08:00
parent d94e416202
commit 3f8e34c07f
4 changed files with 13 additions and 5 deletions
+3 -1
View File
@@ -123,7 +123,9 @@ async function checkStatus() {
try {
const res = await api.get('/sync/status')
syncStatus.value = res.data
} catch {}
} catch {
ElMessage.error('检查同步状态失败')
}
}
async function doPush() {