<template>
    <div class="el-formRadio">
        <el-radio-group  v-model="newValue"
                         v-on="onEvents">
            <el-radio label="线上品牌商赞助"></el-radio>
            <el-radio label="线下场地免费"></el-radio>
        </el-radio-group>
    </div>
</template>

<script>
  import {httpPost} from '../../../src/utils/utils';
  import formMixin from '../../../src/mixins/formMixin';
  import lenye_base from 'lenye_base';

  export default {
    name: 'ElFormRadio',
    mixins: [formMixin],
    props: {
      value: {
        type: Array,
        default () {
          return []
        }
      }
    },
    model: {},
    data () {
      return {
        type: 'Array',
        mockRule: 'checkbox',
        newValue:  function(e) {
          console.log(e);
          return []
        }
      }
    },
    mounted() {
      console.log(httpPost);
      console.log(lenye_base);
    },
    computed: {
      customInit (val) {
        console.log('val',val)
        return val
      }
    },
    methods: {}
  };
</script>
