From 576cfb49d7a8244f9a018d9c31b58b664737817b Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期六, 19 八月 2023 21:41:07 +0800 Subject: [PATCH] 样式修改 --- src/App.vue | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6c8ba38..a61196f 100644 --- a/src/App.vue +++ b/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> -- Gitblit v1.8.0