修改bug
This commit is contained in:
@@ -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' })
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user