From 12e1ca4c63a85f8ec05098dea6ab61c83c7bc2da Mon Sep 17 00:00:00 2001 From: juetan Date: Sun, 15 Oct 2023 21:27:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=8F=90=E9=86=92=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/_login/index.vue | 9 ++++++--- src/pages/my/index.vue | 2 +- src/pages/system/user/index.vue | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/pages/_login/index.vue b/src/pages/_login/index.vue index 8a189b9..d97c3d7 100644 --- a/src/pages/_login/index.vue +++ b/src/pages/_login/index.vue @@ -42,7 +42,7 @@ 忘记密码? - {{ loading ? '登陆中' : '立即登录' }} + {{ loading ? "登陆中" : "立即登录" }}

暂不支持其他方式登录

@@ -58,7 +58,7 @@ import { api } from "@/api"; import { dayjs } from "@/libs"; import { useAppStore, useUserStore } from "@/store"; -import { FieldRule, Form, Message, Modal } from "@arco-design/web-vue"; +import { FieldRule, Form, Message, Modal, Notification } from "@arco-design/web-vue"; import { reactive } from "vue"; const meridiem = dayjs.localeData().meridiem(dayjs().hour(), dayjs().minute()); @@ -102,7 +102,10 @@ const onSubmitForm = async () => { loading.value = true; const res = await api.auth.login(model); userStore.setUser(res.data.data); - Message.success(`欢迎回来,${res.data.data.nickname}!`); + Notification.success({ + title: "提示", + content: `欢迎回来,${res.data.data.nickname}!`, + }); router.push({ path: (route.query.redirect as string) || "/" }); } catch (error: any) { const message = error?.response?.data?.message; diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue index 0775031..09a8b1a 100644 --- a/src/pages/my/index.vue +++ b/src/pages/my/index.vue @@ -153,7 +153,7 @@
-
支付功能
+
支付功能
通知管理员由企业互联的管理员来设置,拥有通知业务的最大权限。
diff --git a/src/pages/system/user/index.vue b/src/pages/system/user/index.vue index cf880f3..8f336c0 100644 --- a/src/pages/system/user/index.vue +++ b/src/pages/system/user/index.vue @@ -109,7 +109,7 @@ const table = useTable({ { field: "password", label: "密码", - type: "password", + type: "input", }, { field: "roleIds",