<template>
  <div class="panel-fieldset">
    <h4 class="panel-legend">公共站点栏目自动复制</h4>
    <el-form-item label="自动复制此栏目">
      <el-switch v-model="extendsData.commonSiteCatalogCopy" 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 {
          commonSiteCatalogCopy: 'N' //  是否自动复制此栏目
        }
      }
    },
    catalogId: [Number, String]
  }
}
</script>
