---fix bug

This commit is contained in:
yuping
2023-08-25 16:10:03 +08:00
parent 2e19f357a5
commit 0938845250
20 changed files with 102 additions and 68 deletions

View File

@@ -22,7 +22,7 @@
style="width: 100%; height: 100%"
:src="iframeUrl + '/course/manages'"
name="myframe"
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
sandbox="allow-forms allow-scripts allow-downloads allow-same-origin allow-popups"
></iframe>
</a-modal>
</div>

View File

@@ -25,7 +25,7 @@
frameborder="0"
name="myframe"
security="restricted"
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
>
</iframe>
</div>

View File

@@ -17,7 +17,7 @@
:src="`${iframeUrl}/course/manages?f=choose&refId=${props.id}&refType=${props.type}`"
name="myframe"
security="restricted"
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
></iframe>
</a-modal>
</template>

View File

@@ -83,7 +83,7 @@
style="width: 100%; height: 100%"
:src="iframeUrl + '/exam/papers?addnew=true'"
name="myframe"
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
sandbox="allow-forms allow-downloads allow-scripts allow-same-origin allow-popups"
></iframe>
</a-modal>
</template>