From b678b9487d6b8721f1c8523e7681957e894e5436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E7=A0=81=E7=94=9F=E8=8A=B1?= <18523774412@qq.com> Date: Sat, 21 Oct 2023 23:35:09 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E5=8E=BB=E6=8E=89=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=91=98=E7=99=BB=E5=BD=95=E6=88=90=E5=8A=9F=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E6=8F=90=E9=86=92=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/backend/login.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/web/src/views/backend/login.vue b/web/src/views/backend/login.vue index e267d3e4..32e5c028 100644 --- a/web/src/views/backend/login.vue +++ b/web/src/views/backend/login.vue @@ -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(() => {