From 5f7273b6e20d88707b536acc2a9b736ea5100bfc Mon Sep 17 00:00:00 2001 From: "lj7788@126.com" Date: Sun, 28 Sep 2025 17:34:29 +0800 Subject: [PATCH] =?UTF-8?q?9.28=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanzhu-ui-vue3/index.html | 72 +++++++++++++++++-- .../src/components/Chart/MyChart.vue | 4 +- yanzhu-ui-vue3/src/views/login.vue | 3 + .../src/views/manage/schedule/indexViews.vue | 1 + 4 files changed, 75 insertions(+), 5 deletions(-) diff --git a/yanzhu-ui-vue3/index.html b/yanzhu-ui-vue3/index.html index 36715240..a44b5a94 100644 --- a/yanzhu-ui-vue3/index.html +++ b/yanzhu-ui-vue3/index.html @@ -10,9 +10,9 @@ /> - + 数字建安施工 + diff --git a/yanzhu-ui-vue3/src/components/Chart/MyChart.vue b/yanzhu-ui-vue3/src/components/Chart/MyChart.vue index 992121df..6eb98977 100644 --- a/yanzhu-ui-vue3/src/components/Chart/MyChart.vue +++ b/yanzhu-ui-vue3/src/components/Chart/MyChart.vue @@ -37,7 +37,9 @@ export default { }, 400); // 大小自适应 window.addEventListener("resize", () => { - this.chart.resize(); + if(this.chart){ + this.chart.resize(); + } }); }, methods: { diff --git a/yanzhu-ui-vue3/src/views/login.vue b/yanzhu-ui-vue3/src/views/login.vue index 0a2734ca..ef9341ed 100644 --- a/yanzhu-ui-vue3/src/views/login.vue +++ b/yanzhu-ui-vue3/src/views/login.vue @@ -139,6 +139,9 @@ function getCookie() { getCode() getCookie() +setTimeout(()=>{ + translate.execute(); +},1000);