修改bug

This commit is contained in:
zhouyanli
2026-07-28 11:11:39 +08:00
parent ebc8cfa3cb
commit a9a5afaf26
7 changed files with 145 additions and 230 deletions

View File

@@ -240,14 +240,14 @@
} else {
uni.showToast({
title: '获取失败',
icon: 'error'
icon: 'none'
})
}
} catch (err) {
const msg = err?.msg || (typeof err === 'string' ? err : '获取失败')
uni.showToast({
title: msg,
icon: 'error'
icon: 'none'
})
}
}