mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 22:55:36 +00:00
refactor:去掉管理员登录成功时的通知提醒信息
This commit is contained in:
parent
7c96cb972d
commit
b678b9487d
@ -75,7 +75,6 @@
|
||||
import { onMounted, onBeforeUnmount, reactive, ref, nextTick } from 'vue'
|
||||
import * as pageBubble from '/@/utils/pageBubble'
|
||||
import type { FormInstance, InputInstance } from 'element-plus'
|
||||
import { ElNotification } from 'element-plus'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { editDefaultLang } from '/@/lang/index'
|
||||
import { useConfig } from '/@/stores/config'
|
||||
@ -162,10 +161,6 @@ const onSubmit = (captchaInfo = '') => {
|
||||
login('post', form)
|
||||
.then((res) => {
|
||||
adminInfo.dataFill(res.data.userInfo)
|
||||
ElNotification({
|
||||
message: res.msg,
|
||||
type: 'success',
|
||||
})
|
||||
router.push({ path: res.data.routePath })
|
||||
})
|
||||
.finally(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user