Skip to content

Commit

Permalink
chore: 优化登录传参 (#1197)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobmission authored Jan 6, 2025
1 parent 5512920 commit 5208272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const onLogin = async (formEl: FormInstance | undefined) => {
if (valid) {
loading.value = true;
useUserStoreHook()
.loginByUsername({ username: ruleForm.username, password: "admin123" })
.loginByUsername({ username: ruleForm.username, password: ruleForm.password })
.then(res => {
if (res.success) {
// 获取后端路由
Expand Down

0 comments on commit 5208272

Please sign in to comment.