style: 全局配置消息距离顶部的位置

This commit is contained in:
TsMask
2024-06-20 14:41:02 +08:00
parent 57f575aa84
commit f6644a0d97
2 changed files with 3 additions and 2 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 });