<template>
    <div class="formDiv">
        <div class="formDiv-left">
            <Label >
                <Checkbox v-model="single">{{property.label}}</Checkbox>
            </Label>
        </div>
    </div>
</template>

<script>
import {editSetting} from './property';
export default {
    // props: {
    //     text: {
    //         type: String,
    //         default: 'Button Text'
    //     },
    //     type: String,
    //     styles: Object
    // },
    data () {
        return {
            single: false,
            property:{
                label : '单选框',
            },
            text: 'input',
            styles: {height:'40px',width:'70px',margin:'10px'},
            type: 'input',
            single: true,
            level: editSetting.level,
        };
    },
    computed:{
        getLabel(){
            return this.property.label;
        }
    },
    editSetting,
    name: editSetting.key,
    level: editSetting.level
};
</script>

<style scoped>
  .formDiv{
    display:inline-block;
      line-height: 60px;
      text-align: left;
  }
</style>
