Commit 0051c551c67b49b06617bccf72a316e7b739b30c
1 parent
e46bcfcf
fix: type warn
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-ui-admin-vue3/src/views/infra/codegen/EditTable.vue
| @@ -11,7 +11,7 @@ const { t } = useI18n() | @@ -11,7 +11,7 @@ const { t } = useI18n() | ||
| 11 | const { push } = useRouter() | 11 | const { push } = useRouter() |
| 12 | const { query } = useRoute() | 12 | const { query } = useRoute() |
| 13 | const tableCurrentRow = ref<CodegenTableVO>() | 13 | const tableCurrentRow = ref<CodegenTableVO>() |
| 14 | -const cloumCurrentRow = ref<CodegenColumnVO[]>() | 14 | +const cloumCurrentRow = ref<CodegenColumnVO[]>([]) |
| 15 | const getList = async () => { | 15 | const getList = async () => { |
| 16 | const id = query.id as unknown as number | 16 | const id = query.id as unknown as number |
| 17 | if (id) { | 17 | if (id) { |