From da4d9e70d2c37f59a365b0fb88ad70e8c1ba79b4 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 11 十二月 2023 10:25:01 +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