fix: change sandbox attributes for widgets (#482)

This commit is contained in:
Fine0830
2025-07-17 17:03:47 +08:00
committed by GitHub
parent 0c7462069f
commit f472d551b6
2 changed files with 2 additions and 2 deletions

View File

@@ -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"
></iframe>
<div v-else class="tips">{{ t("iframeWidgetTip") }}</div>

View File

@@ -43,7 +43,7 @@ limitations under the License. -->
import { TraceGraphType } from "./constant";
/* global defineProps, Recordable*/
const props = defineProps({
defineProps({
data: { type: Array as PropType<Span[]>, default: () => [] },
traceId: { type: String, default: "" },
});