修复菜单选中数据类型提示报错问题

This commit is contained in:
ktianc 2022-10-13 10:06:30 +08:00
parent 284a247f5e
commit 3f7e96e9b1

View File

@ -2,7 +2,6 @@
import { Form } from '@/components/Form'
import { useForm } from '@/hooks/web/useForm'
import { PropType, reactive, watch } from 'vue'
import { TableData } from '@/api/table/types'
import { useValidator } from '@/hooks/web/useValidator'
import { getMenuTreeOptionsApi } from '@/api/vadmin/auth/menu'
import { ElButton, ElInput } from 'element-plus'
@ -12,7 +11,7 @@ const { required } = useValidator()
const props = defineProps({
currentRow: {
type: Object as PropType<Nullable<TableData>>,
type: Object as PropType<Nullable<any>>,
default: () => null
}
})