From c88b44ec4d27cf616ce587505029e6fd178c545d Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 25 八月 2023 14:57:45 +0800 Subject: [PATCH] plc配置的反显问题 --- 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