| src/pages/login/index.vue | ●●●●● patch | view | raw | blame | history |
src/pages/login/index.vue
@@ -81,8 +81,9 @@ url: "/pages/user/index", }); } catch (error) { const errorMsg =error.data?.error_description !=="Bad credentials" ? error.data?.error_description: "登录失败,请重试"; uni.showToast({ title: error.data.error_description, title: errorMsg, icon: "none", duration: 2000 });