We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86b1822 commit 34fb95bCopy full SHA for 34fb95b
ui/src/components/markdown/EchartsRander.vue
@@ -1,6 +1,12 @@
1
<template>
2
<div class="charts-container">
3
- <iframe v-show="false" ref="iframeRef" :srcdoc="iframeHtml" @load="onIframeLoad"></iframe>
+ <iframe
4
+ v-show="false"
5
+ ref="iframeRef"
6
+ sandbox="allow-scripts"
7
+ :srcdoc="iframeHtml"
8
+ @load="onIframeLoad"
9
+ ></iframe>
10
<div ref="chartsRef" :style="style" v-resize="onResize"></div>
11
</div>
12
</template>
0 commit comments