提示框位置下移

This commit is contained in:
lai
2024-06-20 14:53:20 +08:00
parent 0e4e8e09e6
commit 0b64302b54
3 changed files with 7 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ function fnFinish() {
.fnLogin(toRaw(state.from))
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success(t('views.login.loginSuccess'), 3);
message.success(t('views.login.loginSuccess'), 1);
/**登录后重定向页面 */
const redirectPath = route.query?.redirect || '/index';
router.push({ path: redirectPath as string });