mirror of
https://gitee.com/lyt-top/vue-next-admin
synced 2026-07-07 06:15:18 +08:00
admin-22.04.18:更新版本v2.1.0,更新内容查看根目录CHANGELOG.md
This commit is contained in:
@ -67,6 +67,7 @@ import { initBackEndControlRoutes } from '/@/router/backEnd';
|
||||
import { useUserInfo } from '/@/stores/userInfo';
|
||||
import { Session } from '/@/utils/storage';
|
||||
import { formatAxis } from '/@/utils/formatTime';
|
||||
import { NextLoading } from '/@/utils/loading';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'loginAccount',
|
||||
@ -162,6 +163,8 @@ export default defineComponent({
|
||||
state.loading.signIn = true;
|
||||
const signInText = t('message.signInText');
|
||||
ElMessage.success(`${currentTimeInfo},${signInText}`);
|
||||
// 添加 loading,防止第一次进入界面时出现短暂空白
|
||||
NextLoading.start();
|
||||
};
|
||||
return {
|
||||
onSignIn,
|
||||
|
||||
Reference in New Issue
Block a user