mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	fix: 类型错误
This commit is contained in:
		| @@ -7,6 +7,7 @@ import { ElInput, FormRules } from 'element-plus' | ||||
| import { useValidator } from '@/hooks/web/useValidator' | ||||
| import { useLoginState, LoginStateEnum } from './useLogin' | ||||
| import LoginFormTitle from './LoginFormTitle.vue' | ||||
| import { FormSchema } from '@/types/form' | ||||
|  | ||||
| const { register, elFormRef } = useForm() | ||||
| const { handleBackLogin, getLoginState } = useLoginState() | ||||
|   | ||||
| @@ -4,6 +4,8 @@ import { required } from '@/utils/formRules' | ||||
| import { CodegenTableVO } from '@/api/infra/codegen/types' | ||||
| import { Form } from '@/components/Form' | ||||
| import { useForm } from '@/hooks/web/useForm' | ||||
| import { FormSchema } from '@/types/form' | ||||
|  | ||||
| const props = defineProps({ | ||||
|   basicInfo: { | ||||
|     type: Object as PropType<Nullable<CodegenTableVO>>, | ||||
|   | ||||
| @@ -8,6 +8,7 @@ import { useForm } from '@/hooks/web/useForm' | ||||
| import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' | ||||
| import { listSimpleMenusApi } from '@/api/system/menu' | ||||
| import { CodegenTableVO } from '@/api/infra/codegen/types' | ||||
| import { FormSchema } from '@/types/form' | ||||
| const props = defineProps({ | ||||
|   genInfo: { | ||||
|     type: Object as PropType<Nullable<CodegenTableVO>>, | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| import { required } from '@/utils/formRules' | ||||
| import { reactive } from 'vue' | ||||
| import { FormSchema } from '@/types/form' | ||||
|  | ||||
| // 表单校验 | ||||
| export const rules = reactive({ | ||||
|   name: [required], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 xingyu
					xingyu