<template>
  <div class="new-bar-single-option">
    <div class="setting-title" @click="show = !show">
      <div>组件设置</div>
      <e class="el-icon-arrow-right" v-show="!show"></e>
      <e class="el-icon-arrow-down" v-show="show"></e>
    </div>
    <el-form size="mini" label-width="80px" v-show="show">
      <el-form-item label="开启堆叠">
        <el-switch v-model="option.stackSwitch"></el-switch>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  name: "new-bar-single-option",
  props: ["option"],
  data() {
    return {
      show: false,
    };
  },
};
</script>
<style lang="scss">
.new-bar-single-option {
}
</style>
