<template>
  <div>
    <div class="panel-fieldset" v-show="extendsData.memberReaderRecordEnableForSite==='Y'">
      <h4 class="panel-legend">会员配置项</h4>
      <el-form-item label="是否启用会员阅读记录">
        <el-switch v-model="extendsData.memberReaderRecordEnable" active-value="Y" inactive-value="N" :disabled="catalogId===0"></el-switch>
      </el-form-item>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    extendsData: {
      type: Object,
      default: function() {
        return {
          memberReaderRecordEnable: 'N' //  图片播放器是否需要审核
        }
      }
    },
    catalogId: [Number, String]
  }
}
</script>
