refactor: 登录类型声明修改
Former-commit-id: f3b8639bda29fa126fdff45954cf992631310d7e
This commit is contained in:
@@ -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'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user