From 02380f69e1c6c30150bf4e551c447b72e883778d Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Tue, 7 Jan 2025 17:21:00 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96`src/style/dark.scss?= =?UTF-8?q?`=E8=AF=AD=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/dark.scss | 1 + src/views/login/index.vue | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/style/dark.scss b/src/style/dark.scss index 74fe07474..467aa6acc 100644 --- a/src/style/dark.scss +++ b/src/style/dark.scss @@ -1,3 +1,4 @@ +@use "sass:color"; @use "element-plus/theme-chalk/src/dark/css-vars.scss" as *; /* 整体暗色风格适配 */ diff --git a/src/views/login/index.vue b/src/views/login/index.vue index b83078c2f..854888794 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -68,7 +68,10 @@ const onLogin = async (formEl: FormInstance | undefined) => { if (valid) { loading.value = true; useUserStoreHook() - .loginByUsername({ username: ruleForm.username, password: ruleForm.password }) + .loginByUsername({ + username: ruleForm.username, + password: ruleForm.password + }) .then(res => { if (res.success) { // 获取后端路由