This commit is contained in:
Julian Freeman
2026-04-18 15:27:00 -04:00
parent bba113e089
commit fe86431899
7 changed files with 266 additions and 123 deletions

View File

@@ -107,8 +107,8 @@ const handleSave = async () => {
const handleSync = async () => {
try {
await store.syncEssentials()
showToast('清单同步成功')
const result = await store.syncEssentials()
showToast(result.message, result.status === 'updated' ? 'success' : 'error')
} catch (err) {
showToast('同步失败,请检查网络或地址', 'error')
}