perf: adjustment of form spelling errors, type adjustment, closer to actual development (#4694)

This commit is contained in:
Vben
2024-10-20 21:44:25 +08:00
committed by GitHub
parent 646598afba
commit 860fc15ce6
32 changed files with 95 additions and 122 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { LoginAndRegisterParams } from '@vben/common-ui';
import type { Recordable } from '@vben/types';
import { useRouter } from 'vue-router';
@@ -11,7 +11,7 @@ import { Button, Card } from 'ant-design-vue';
import { useAuthStore } from '#/store';
const accounts: Record<string, LoginAndRegisterParams> = {
const accounts: Record<string, Recordable<any>> = {
admin: {
password: '123456',
username: 'admin',