From 8118f56d86267e443f147c17ccb014338607e247 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 18 八月 2023 20:26:18 +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