mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-04 07:27:41 +08:00
chore: 优化src/style/dark.scss
语法
This commit is contained in:
parent
5208272456
commit
02380f69e1
@ -1,3 +1,4 @@
|
|||||||
|
@use "sass:color";
|
||||||
@use "element-plus/theme-chalk/src/dark/css-vars.scss" as *;
|
@use "element-plus/theme-chalk/src/dark/css-vars.scss" as *;
|
||||||
|
|
||||||
/* 整体暗色风格适配 */
|
/* 整体暗色风格适配 */
|
||||||
|
@ -68,7 +68,10 @@ const onLogin = async (formEl: FormInstance | undefined) => {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
useUserStoreHook()
|
useUserStoreHook()
|
||||||
.loginByUsername({ username: ruleForm.username, password: ruleForm.password })
|
.loginByUsername({
|
||||||
|
username: ruleForm.username,
|
||||||
|
password: ruleForm.password
|
||||||
|
})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
// 获取后端路由
|
// 获取后端路由
|
||||||
|
Loading…
x
Reference in New Issue
Block a user