<template>
    <!-- 需要加的属性再进行绑定 -->
    <sh-input 
        v-model="formModel[item.prop]"
        :showCode="item['show-code']"
        :showRange="item['show-range']"
        :showPopUp="item.showPopUp"
        :type="item.type"
        :maxlength="item.maxlength"
        :minlength="item.minlength"
        :show-word-limit="item['show-word-limit']"
        :placeholder="item.placeholder"
        :clearable="item.clearable"
        :show-password="item['show-password']"
        :disabled="item.disabled"
        :size="item.size"
        :prefix-icon="item['prefix-icon']"
        :suffix-icon="item['suffix-icon']"
        :rows="item.rows"
        :autosize="item.autosize"
        :autocomplete="item.autocomplete"
        :auto-complete="item['auto-complete']"
        :name="item.name"
        :readonly="item.readonly"
        :max="item.max"
        :min="item.min"
        :step="item.step"
        :resize="item.resize"
        :autofocus="item.autofocus"
        :form="item.form"
        :label="item.label"
        :tabindex="item.tabindex"
        :validate-event="item['validate-event']"
        :callBack="callBack"
        :startPlaceholder="item.startPlaceholder"
        :endPlaceholder="item.endPlaceholder"
        :status="item.status"
        :msg="item.msg"
    />
    
</template>

<script>
import baseFormMixins from './baseFormItemMixins';
export default {
    name: 'baseInput',
    mixins: [baseFormMixins]
}
</script>