fix:修改客服报错问题

This commit is contained in:
李伊帆
2026-10-23 11:09:37 +08:00
parent 28531c8120
commit c288d6914e
6 changed files with 205 additions and 36 deletions

View File

@@ -559,8 +559,8 @@ export function useSupport() {
return
}
await sendUserImageMessage(ossId, previewUrl)
} catch (err) {
uni.showToast({ title: getErrorMessage(err, '图片上传失败'), icon: 'none' })
} catch {
uni.showToast({ title: '网络异常,请检查网络后重试', icon: 'none' })
} finally {
uni.hideLoading()
}