fix: 类型错误

This commit is contained in:
xingyu
2022-10-11 16:02:28 +08:00
parent 0c5101256b
commit b6347a46aa
8 changed files with 10 additions and 1 deletions

View File

@ -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>>,

View File

@ -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>>,