<template>
  <sd-webform>
    <template v-slot="{ formData }">
      <a-alert
        message="由于没有找到对应的表单，所以显示了这个自动生成的内容。仅供调试使用"
        type="warning"
        show-icon
        closable
      />
      <sd-form-item
        v-for="field in formData.pageFormData.pageFieldInfos"
        :key="field.name"
        :name="field.name"
      />
    </template>
  </sd-webform>
</template>

<script>
import components from './_import-components/sd-common-subform-import'

export default {
  name: 'SdCommonSubform',
  components,
  data() {
    return {}
  },
  methods: {},
}
</script>

<style module lang="scss">
@use '@/common/design' as *;
</style>
