diff --git a/pages/login/register.vue b/pages/login/register.vue index d28d551..7f11137 100644 --- a/pages/login/register.vue +++ b/pages/login/register.vue @@ -133,8 +133,9 @@ export default { type: 'reLaunch' }) }, 2000) - }).catch(() => { - uni.$u.toast('请补全必填项') + }).catch((e) => { + console.log(e) + uni.$u.toast(e.msg || '请补全必填项') }) } },