From 9efa9c2c6270677c9cf81ca315d27b45c6f6bf2a Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 19 Mar 2024 11:21:08 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20iframe=E5=B5=8C=E5=85=A5=E5=BC=8F?= =?UTF-8?q?=E6=96=B0=E5=BC=80=E9=A1=B5=E9=9D=A2=E7=BC=BA=E5=A4=B1token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/models/tree/TreeNode.ts | 2 +- core/core-frontend/src/views/dashboard/index.vue | 9 +-------- .../core-frontend/src/views/data-visualization/index.vue | 9 +-------- de-xpack | 2 +- 4 files changed, 4 insertions(+), 18 deletions(-) diff --git a/core/core-frontend/src/models/tree/TreeNode.ts b/core/core-frontend/src/models/tree/TreeNode.ts index d0a829e6a1..5acb88cdb2 100644 --- a/core/core-frontend/src/models/tree/TreeNode.ts +++ b/core/core-frontend/src/models/tree/TreeNode.ts @@ -12,5 +12,5 @@ export interface BusiTreeRequest { busiFlag?: string leaf?: boolean weight?: number - sortType: string + sortType?: string } diff --git a/core/core-frontend/src/views/dashboard/index.vue b/core/core-frontend/src/views/dashboard/index.vue index c24b79db89..0f2c831975 100644 --- a/core/core-frontend/src/views/dashboard/index.vue +++ b/core/core-frontend/src/views/dashboard/index.vue @@ -100,14 +100,7 @@ const newWindowHandler = ref(null) let p = null const XpackLoaded = () => { - const pm = { - methodName: 'newWindowReady', - args: null - } - if (newWindowHandler?.value) { - newWindowHandler.value.invokeMethod(pm) - p(true) - } + p(true) } // 全局监听按键事件 onMounted(async () => { diff --git a/core/core-frontend/src/views/data-visualization/index.vue b/core/core-frontend/src/views/data-visualization/index.vue index 47d5d19e49..352e3b7c86 100644 --- a/core/core-frontend/src/views/data-visualization/index.vue +++ b/core/core-frontend/src/views/data-visualization/index.vue @@ -204,14 +204,7 @@ const newWindowHandler = ref(null) let p = null const XpackLoaded = () => { - const pm = { - methodName: 'newWindowReady', - args: null - } - if (newWindowHandler?.value) { - newWindowHandler.value.invokeMethod(pm) - p(true) - } + p(true) } onMounted(async () => { await new Promise(r => { diff --git a/de-xpack b/de-xpack index 6fcd9f491e..45c3ff3e6b 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 6fcd9f491e16f8ea015723a5230449a12b6eec18 +Subproject commit 45c3ff3e6b1fade203d2206eaaa76347781b54bd