Skip to content

Commit

Permalink
chore: 优化src/style/dark.scss语法
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Jan 7, 2025
1 parent 5208272 commit 02380f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/style/dark.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use "sass:color";
@use "element-plus/theme-chalk/src/dark/css-vars.scss" as *;

/* 整体暗色风格适配 */
Expand Down
5 changes: 4 additions & 1 deletion src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
// 获取后端路由
Expand Down

0 comments on commit 02380f6

Please sign in to comment.