<template>
  <div class="dashboard">
    <router-view v-if="$route.meta && $route.meta.noToolBar" />
    <!--导航-->
    <ToolBar v-else />
  </div>
</template>

<script>
import ToolBar from "@/layout/components/ToolBar";
export default {
  name: "Dashboard",
  components: { ToolBar },
};
</script>

<style lang="scss" scoped>
.dashboard {
  padding: 24px 24px 0;
}
</style>
