<template>
  <div class="van-hairline--bottom">
    <van-field
      :value="value.value"
      rows="3"
      type="textarea"
      autosize 
      v-model="aa"
      @input="input"
      :label="proofSubItem.label"
      placeholder="请输入" />
  </div>
</template>

<script lang="ts">
import { Component, Prop, Model, Emit, Vue } from 'vue-property-decorator';
import { Field } from 'vant';
@Component({
  name: 'TypeTen',
  components: {
    [Field.name]: Field,
  },
})
export default class TypeTen extends Vue {
  @Prop()
  private proofSubItem: any;
  // @Model ('input', {type: String})
  @Prop()
  private value!: any;
  // @Emit('input')
  private aa: string = this.value.value;
  private input() {
    this.$emit('update:value', {...this.value, value: this.aa});
  }
}
</script>
