refactor: 登录类型声明修改

Former-commit-id: f3b8639bda29fa126fdff45954cf992631310d7e
This commit is contained in:
haoxr
2023-02-09 23:55:42 +08:00
parent 8a61ead309
commit 685ca0066d
4 changed files with 7 additions and 7 deletions

View File

@@ -83,14 +83,14 @@ import { useUserStore } from '@/store/modules/user';
// API依赖
import { LocationQuery, LocationQueryValue, useRoute } from 'vue-router';
import { LoginType } from '@/api/auth/types';
import { ILoginData } from '@/api/auth/types';
const userStore = useUserStore();
const route = useRoute();
const loginFormRef = ref(ElForm);
const loginData = ref<LoginType>({
const loginData = ref<ILoginData>({
username: 'admin',
password: '123456'
});