From f472d551b6d0e04b4dd79d061619cbab40a688db Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Thu, 17 Jul 2025 17:03:47 +0800 Subject: [PATCH] fix: change sandbox attributes for widgets (#482) --- src/views/dashboard/controls/ThirdPartyApp.vue | 2 +- src/views/dashboard/related/trace/components/List.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/dashboard/controls/ThirdPartyApp.vue b/src/views/dashboard/controls/ThirdPartyApp.vue index 9fcf8842..6d6a0340 100644 --- a/src/views/dashboard/controls/ThirdPartyApp.vue +++ b/src/views/dashboard/controls/ThirdPartyApp.vue @@ -37,7 +37,7 @@ limitations under the License. --> height="100%" scrolling="no" style="border: none" - sandbox="allow-scripts allow-same-origin allow-forms allow-popups" + sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" >
{{ t("iframeWidgetTip") }}
diff --git a/src/views/dashboard/related/trace/components/List.vue b/src/views/dashboard/related/trace/components/List.vue index b710c089..5c8e04d7 100644 --- a/src/views/dashboard/related/trace/components/List.vue +++ b/src/views/dashboard/related/trace/components/List.vue @@ -43,7 +43,7 @@ limitations under the License. --> import { TraceGraphType } from "./constant"; /* global defineProps, Recordable*/ - const props = defineProps({ + defineProps({ data: { type: Array as PropType, default: () => [] }, traceId: { type: String, default: "" }, });