<template>
    <!-- 图片 -->
    <div>
        <basic-edit hide-info hide-placeholder></basic-edit>
        <div v-if="formItem.verify">
            <div class="title">图片上传数量限制：{{ formItem.verify.limit[0] }} ~ {{ formItem.verify.limit[1] }}</div>
            <el-slider v-model="formItem.verify.limit" range :min="1" :max="9"></el-slider>
        </div>
        <verify-edit only-camera></verify-edit>
    </div>
</template>

<script>
export default {
    name: 'FormImg',
    components: {
        BasicEdit: () => import('@/common/formDesign/components/formEdit/components/BasicEdit'),
        VerifyEdit: () => import('@/common/formDesign/components/formEdit/components/VerifyEdit')
    },
    data () {
        return {
            formItem: this.$store.state.form.formItem
        }
    }
}
</script>

<style lang="less" scoped>
</style>
