fix: 修改登录数据类型声明

Former-commit-id: e9ea4acaa8ebdf97f0227fd8ef4259ff7e1c092b
This commit is contained in:
haoxr
2023-03-01 00:55:41 +08:00
parent 66c20aed1e
commit e720613342

View File

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