Ver Fonte

fix(系统-登录): 登录失败自动刷新验证码

shizhongming há 2 anos atrás
pai
commit
4c96cf2077
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/views/sys/login/LoginForm.vue

+ 1 - 0
src/views/sys/login/LoginForm.vue

@@ -178,6 +178,7 @@
         content: (error as unknown as Error).message || t('sys.api.networkExceptionMsg'),
         getContainer: () => document.body.querySelector(`.${prefixCls}`) || document.body,
       });
+      handleChangeCaptcha();
     } finally {
       loading.value = false;
     }