<template>
  <div class="table-head-tool ss">
    <Button shape="circle" v-if="$route.meta.type==='功能'" icon="ios-undo" @click="goBack">返回</Button>
    <slot></slot>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  created() {},

  methods: {
    goBack() {
      this.$router.go(-1)
    },
  },
}
</script>
<style lang="less" scoped>
</style>