haoxuan
2023-08-18 8118f56d86267e443f147c17ccb014338607e247
src/App.vue
@@ -4,12 +4,32 @@
    <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-x:hidden;
}
</style>