修改bug

This commit is contained in:
zhouyanli
2026-09-03 17:41:55 +08:00
parent bc9e6a1361
commit 09f2583974
5 changed files with 11 additions and 13 deletions

View File

@@ -116,9 +116,9 @@ const onSubmit = () => {
} else {
uni.showToast({ title: res.msg || '更换失败', icon: 'none' })
}
}).catch(() => {
}).catch((err) => {
uni.hideLoading()
uni.showToast({ title: '更换失败', icon: 'none' })
uni.showToast({ title: err.msg || '更换失败', icon: 'none' })
})
}