li.shaoyi 9 months ago
parent
commit
6ddf265fa2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/packages/mobile/views/user/register/Index.vue

+ 2 - 1
src/packages/mobile/views/user/register/Index.vue

@@ -307,7 +307,8 @@ const formSubmit = () => {
           showFailToast(msg ?? res.message)
         }
       }).catch((err) => {
-        showFailToast(err)
+        const msg = errorInfoStore.getErrorInfoByCode(err)
+        showFailToast(msg ?? err)
       })
     }, t('user.register.tips9'))
   } else {