From f868ff46ef4fb25a01364f3c5d0fe220d32b7ad0 Mon Sep 17 00:00:00 2001
From: whyczyk <525500596@qq.com>
Date: 星期二, 01 三月 2022 14:25:16 +0800
Subject: [PATCH] 大屏对接新平台

---
 src/pages/exhibition.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/pages/exhibition.vue b/src/pages/exhibition.vue
index 4a7f94a..773ebf9 100644
--- a/src/pages/exhibition.vue
+++ b/src/pages/exhibition.vue
@@ -49,6 +49,9 @@
 		if (this.$route.query.userId) {
 			localStorage.setItem('userId', this.$route.query.userId);
 		}
+		if (this.$route.query.newPlatform) {
+			sessionStorage.setItem('newPlatform', this.$route.query.newPlatform);
+		}
 		this.nowlayOut.appName = this.$route.query.name;
 		if (this.$route.query.head && this.$route.query.head == 1) {
 			this.isHeader = false
@@ -106,7 +109,13 @@
 								nowBox[0].appendChild(chartModular.$el)
 								this.modularArr.push(chartModular);
 							}
-							chartModular.setData();
+							if (chartModular.id == "chart14") {
+								this.$nextTick(() => {
+									chartModular.$children[0].setData()
+								})
+							} else {
+								chartModular.setData();
+							}
 							chartModular.resize();
 						}, 0)
 

--
Gitblit v1.9.1