From 90eb63e24b206fddbfd8bdfc32cc4843627afb03 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 14:36:54 +0000 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20iframe=20sandbox=20?= =?UTF-8?q?=E4=B8=AD=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=20allow-forms=20?= =?UTF-8?q?=E5=92=8C=20allow-modals=20=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 遵循最小权限原则,加强了嵌入式演示(如 Parkour)iframe 的安全性。 Co-authored-by: ImChong <74563097+ImChong@users.noreply.github.com> --- src/views/Demo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Demo.vue b/src/views/Demo.vue index bfe2081..32afe29 100644 --- a/src/views/Demo.vue +++ b/src/views/Demo.vue @@ -40,7 +40,7 @@ class="parkour-frame" :title="embeddedDemoFrameTitle" allow="autoplay; fullscreen" - sandbox="allow-scripts allow-same-origin allow-downloads allow-forms allow-modals allow-popups" + sandbox="allow-scripts allow-same-origin allow-downloads allow-popups" @load="onParkourLoad" >