<template>
  <div id="app">
    <router-view />
    <theme-picker />
  </div>
</template>

<script>
import ThemePicker from "@/components/ThemePicker";

export default {
  name: "App",
  components: { ThemePicker },
    metaInfo() {
        return {
            title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
            titleTemplate: title => {
                return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
            }
        }
    }
};
</script>
<style scoped lang="scss">
#app .theme-picker {
  display: none;
}
// 滚动条样式
// ::v-deep .el-table__body-wrapper::-webkit-scrollbar {
//   width: 10px !important;
// }
// ::v-deep .el-table__body-wrapper::-webkit-scrollbar-track {
//   background-color: #063570;
// }
// ::v-deep .el-table__body-wrapper::-webkit-scrollbar {
//   width: 10px;
//   opacity: 0.5;
// }
// ::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
//   border-radius: 15px;
//   background-color: #0257aa;
// }
</style>
