From ee82576e6300d4dc14005d9cb0804e3ed105dd4a Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 5 Dec 2024 18:14:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E5=A4=8D=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=8E=86=E5=8F=B2=E4=BB=AA=E8=A1=A8=E6=9D=BF=E6=9C=AA?= =?UTF-8?q?=E9=80=82=E9=85=8D=E6=96=B0=E5=A2=9E=E5=B1=9E=E6=80=A7=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/canvasUtils.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/core-frontend/src/utils/canvasUtils.ts b/core/core-frontend/src/utils/canvasUtils.ts index fee2988917..a63e5e5c23 100644 --- a/core/core-frontend/src/utils/canvasUtils.ts +++ b/core/core-frontend/src/utils/canvasUtils.ts @@ -262,9 +262,6 @@ export function historyAdaptor( canvasDataResult.forEach(componentItem => { historyItemAdaptor(componentItem, reportFilterInfo, attachInfo, canvasVersion, canvasInfo) }) - if (canvasInfo && canvasInfo.id) { - updateCheckVersion(canvasInfo.id) - } } // 重置仪表板、大屏中的其他组件 @@ -565,6 +562,7 @@ export async function canvasSave(callBack) { canvasViewInfo: canvasViewInfo.value, appData: appData.value, ...dvInfo.value, + checkVersion: wsCache.get('x-de-execute-version'), contentId: newContentId, watermarkInfo: null }