<template>
  <div>
    <div class="panel-fieldset">
      <h4 class="panel-legend">Web采集设置</h4>
      <el-form-item label="自动清理采集的初稿内容：">
        <el-switch v-model="extend.cleanArticle" :disabled="disabled" active-value="Y" inactive-value="N"></el-switch>
      </el-form-item>
    </div>
  </div>
</template>
<script>

export default {
  data() {
    return {
    }
  },
  computed: {
    extend: {
      get() {
        return this.extends
      },
      set(val) {
        this.$emit('update:extends', val)
      }
    }
  },
  methods: {

  },
  created() {

  },
  props: {
    extends: {
      type: Object,
      default: function () {
        return {
          cleanArticle: 'N' // 是否自动清理采集的初稿内容

        }
      }
    },
    disabled: {
      type: Boolean
    }
  }
}
</script>
