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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user