fix: type warn

This commit is contained in:
xingyu 2022-08-08 19:06:46 +08:00
parent e46bcfcf1f
commit 0051c551c6

View File

@ -11,7 +11,7 @@ const { t } = useI18n()
const { push } = useRouter() const { push } = useRouter()
const { query } = useRoute() const { query } = useRoute()
const tableCurrentRow = ref<CodegenTableVO>() const tableCurrentRow = ref<CodegenTableVO>()
const cloumCurrentRow = ref<CodegenColumnVO[]>() const cloumCurrentRow = ref<CodegenColumnVO[]>([])
const getList = async () => { const getList = async () => {
const id = query.id as unknown as number const id = query.id as unknown as number
if (id) { if (id) {