<template>
  <div class="van-hairline--bottom">
    <van-field :value="value.value" 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({
  components: {
    [Field.name]: Field,
  },
})
export default class TypeZero 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>
