index.vue冲突

This commit is contained in:
Zy
2026-05-21 11:12:02 +08:00
parent 5909be9a15
commit 51554aef13

View File

@@ -257,11 +257,11 @@ const getInspectionData = () => {
pendingCount.value = 0 pendingCount.value = 0
InspectedCount.value = 0 InspectedCount.value = 0
} }
} else {
uni.showToast({ title: res.msg || '获取失败', icon: 'none' })
} }
}else{ })
uni.showToast({ title: res.msg || '获取失败', icon: 'none' }) .catch(err => {
}
}).catch(err => {
uni.showToast({ title: err.msg || '获取失败', icon: 'none' }) uni.showToast({ title: err.msg || '获取失败', icon: 'none' })
}) })
} }