From e8891299c751d89dbcc97635ee47f6366b7c02b5 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 21 八月 2023 12:38:56 +0800 Subject: [PATCH] 样式修改 --- src/App.vue | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6c8ba38..e353686 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,12 +4,33 @@ <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> -- Gitblit v1.8.0