<template>
  <div class="panel-fieldset short-label">
    <h4 class="panel-legend">广告配置</h4>
    <el-form-item label="是否需要审核">
      <el-switch v-model="extendsData.atvertiseIsNeedAudit" active-value="Y" inactive-value="N" :disabled="catalogId===0"></el-switch>
    </el-form-item>
  </div>
</template>
<script>
export default {
  props: {
    extendsData: {
      type: Object,
      default: function() {
        return {
          atvertiseIsNeedAudit: '' // 是否需要审核
        }
      }
    },
    catalogId: [Number, String]
  }
}
</script>
