AppMain.vue 789 Bytes
<template>
  <section class="app-main">
    <!-- <Breadcrumb v-if="judgeRoute()" /> -->
    <transition name="fade-transform" mode="out-in">
      <router-view />
    </transition>
  </section>
</template>
<script>
import Breadcrumb from "@/components/Breadcrumb/index";
export default {
  name: 'AppMain',
  components: {
    Breadcrumb
  },
  methods: {
    judgeRoute(){
      if (this.$route.path == '/home' || this.$route.path.indexOf('jsbwcx') > -1) {
        return false
      }else{
        return true
      }
    }
  },
  computed: {
    key () {
      return this.$route.path
    }
  }
}
</script>
<style lang="scss" scoped>
.hasTagsView {
  .app-main {
    overflow-x: auto;
    box-sizing: border-box;
    background-color: #EDF1F7;
    box-sizing: border-box;
  }
}
</style>