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

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

export default {
  name: "App",
  components: { ThemePicker },
  created() {
    // const query = {
    //   pageNum: 1,
    //   pageSize: 100,
    //   dictType: 'sys_title',
    // }
    // this.$store.dispatch("getDict", query).then((res) => {
    //   let dictList = JSON.stringify(res.rows)
    //   this.$cache.session.set('dictList', dictList);
    // }).catch(() => {

    // })
  },
}
</script>
<style scoped>
#app .theme-picker {
  display: none;
}
</style>
