<script>
import IeFormPickerSingle from "@/pages/ie/components/picker/ie-form-picker-single.vue";

export default {
  name: "eyesight-picker",
  extends: IeFormPickerSingle,
  props: {
    remark: {
      type: String,
      default: 'C字表，满分5.0'
    },
    placeholder: {
      type: String,
      default: '请输入'
    },
    defaultIndex: {
      type: Number,
      default: 2
    }
  },
  methods: {
    initColumns() {
      const arr = Array.from({length: 51}, (_,idx) => (idx*0.1).toFixed(1).toString())
      arr.reverse()
      this.columns = arr
    }
  }
}
</script>

<style scoped>

</style>