From 5fbe3f600002026cc24bc4178b904419ade71e13 Mon Sep 17 00:00:00 2001 From: qianlishi <1432731663@qq.com> Date: Fri, 2 Jul 2021 17:20:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=20=E5=BA=95=E5=9B=BE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report-ui/src/views/report/bigscreen/designer/index.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/report-ui/src/views/report/bigscreen/designer/index.vue b/report-ui/src/views/report/bigscreen/designer/index.vue index 19b7985c..d0ca387a 100644 --- a/report-ui/src/views/report/bigscreen/designer/index.vue +++ b/report-ui/src/views/report/bigscreen/designer/index.vue @@ -357,13 +357,9 @@ export default { } }, mounted() { - // 一进入时,加载屏幕配置属性 - this.setOptionsOnClickScreen(); - // 如果是新的设计工作台 this.initEchartData(); this.widgets = []; - window.addEventListener("mouseup", () => { this.grade = false; }); @@ -394,7 +390,7 @@ export default { this.dashboard = screenData; }, handleBigScreen(data) { - const optionScreen = this.deepClone(getToolByCode("screen").options); + const optionScreen = getToolByCode("screen").options; const setup = optionScreen.setup; for (const key in data) { for (let i = 0; i < setup.length; i++) { @@ -403,6 +399,7 @@ export default { } } } + this.setOptionsOnClickScreen(); return { backgroundColor: (data && data.backgroundColor) || "", backgroundImage: (data && data.backgroundImage) || "",