<template>
  <div>
    <div class="panel-fieldset">
      <h4 class="panel-legend">广告配置</h4>
      <el-form-item label="是否需要审核：">
        <el-switch v-model="extend.atvertiseIsNeedAudit" :disabled="disabled" active-value="Y" inactive-value="N"></el-switch>
      </el-form-item>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {

    }
  },
  methods: {

  },
  computed: {
    extend: {
      get() {
        return this.extends
      },
      set(val) {
        this.$emit('update:extends', val)
      }
    }
  },
  props: {
    extends: {
      type: Object,
      default: function () {
        return {
          advertiseIsNeedAudit: 'N' // 是否需要审核
        }
      }
    },
    disabled: {
      type: Boolean
    }
  }
}
</script>
