<template>
  <div>
    <div class="block">
      <span class="demonstration">默认显示所有Tag</span>
      <el-cascader
        :options="options"
        :props="props"
        clearable
        @change="changeChannel"
      />
    </div>
  </div>
</template>

<script>
export default {
  name: 'Devebox',
  data() {
    return {
      props: { multiple: true, emitPath: false },
      options: [{
        value: 1,
        label: '东南',
        children: [{
          value: 2,
          label: '上海'
        }, {
          value: 7,
          label: '江苏'
        }, {
          value: 12,
          label: '浙江'
        }]
      }, {
        value: 17,
        label: '西北',
        children: [{
          value: 18,
          label: '陕西'
        }, {
          value: 21,
          label: '新疆维吾尔族自治区'
        }]
      }]
    }
  },
  methods: {
    changeChannel(e) {
      console.log(e)
    }
  }
}
</script>

<style scoped>

</style>
