<template>
  <div id="app">
      <router-view :key="$route.fullPath"/>
      <!-- <keep-alive>
        <router-view v-if="$route.meta.keepAlive" :key="$route.fullPath"/>
      </keep-alive>
      <router-view v-if="!$route.meta.keepAlive" :key="$route.fullPath"/> -->
  </div>
</template>

<script>
export default {
  name: "app",
  data() {
    return {};
  },
  watch: {},
  created() {
    // 控制input框颜色
    if(localStorage.getItem('inputColor')) {
      let color = localStorage.getItem('inputColor')
      document.getElementsByTagName('body')[0].style.setProperty('--label-font-color', color);
      localStorage.setItem("inputColor", color);
    }else {
      document.getElementsByTagName('body')[0].style.setProperty('--label-font-color', '#e4e7ec');
      localStorage.setItem("inputColor", '#e4e7ec');
    }
  },
  methods: {
    
  },
  computed: {}
};
</script>
<style lang="scss">
#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.avue--detail .el-col{
  margin-bottom: 0;
}
</style>
