<template>
  <div>
    <el-form-item :label="options.name" :required="options.required">
      <el-input v-model="formData[options.key || ('input-'+options.uuid)]" :disabled="options.disabled" />
    </el-form-item>
  </div>
</template>
<script lang="ts" setup>

defineOptions({
  name: 'hw-input-view'
});

const props = defineProps({
  options: Object,
  formData: Object
});
const { options, formData } = toRefs(props);
</script>
<style scoped lang="less">
</style>



