lkk
2025-01-06 0baf3cea7a2a7585eb19cbd1719ac3a69c857f62
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<template>
  <div id="app">
    <router-view v-if="isRouterAlive"/>
    <theme-picker />
  </div>
</template>
 
<script>
import ThemePicker from "@/components/ThemePicker";
 
export default {
  name: "App",
  provide() {
    return {
      reload: this.reload,
    };
  },
  data() {
    return {
      isRouterAlive: true,
    };
  },
  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
      }
    }
  },
  created() {
  },
  methods: {
    reload() {
      this.isRouterAlive = false;
      this.$nextTick(function () {
        this.isRouterAlive = true;
      });
    },
  },
};
</script>
<style scoped>
#app .theme-picker {
  display: none;
}
/* #app{
  width:1920px;
  height:1080px;
} */
 
 
body {
  margin: 0;
  padding: 0;
}
</style>