haoxuan
2023-10-11 a1a6630f2eabfc78a379b5808b1bf7231a084d0b
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
<template>
  <div id="app">
    <nav></nav>
    <router-view />
  </div>
</template>
<script>
import util from "@/libs/util";
 
export default {
  name: "app",
 
  watch: {
    // "$i18n.locale": "i18nHandle"
  },
  created() {
    // this.i18nHandle(this.$i18n.locale);
  },
  methods: {
    // i18nHandle(val, oldVal) {
    //   util.cookies.set("lang", val);
    //   document.querySelector("html").setAttribute("lang", val);
    // }
  }
};
</script>
<style lang="scss">
#app,
html,
body {
  width: 100%;
  height: 100%;
  overflow:hidden;
  margin:0;
}
</style>