mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
fix: 更新 iframe 的 sandbox 属性以增强安全性
This commit is contained in:
parent
3e468c74e4
commit
2abc5976f9
@ -5,7 +5,7 @@
|
|||||||
class="micro-app-iframe-container"
|
class="micro-app-iframe-container"
|
||||||
:class="{'iframe-immersive': immersive}"
|
:class="{'iframe-immersive': immersive}"
|
||||||
:src="src"
|
:src="src"
|
||||||
sandbox="allow-scripts allow-forms allow-same-origin allow-popups allow-popups-to-escape-sandbox allow-modals allow-orientation-lock allow-pointer-lock allow-presentation allow-storage-access-by-user-activation allow-downloads"
|
sandbox="allow-scripts allow-forms allow-same-origin allow-popups allow-popups-to-escape-sandbox allow-modals allow-pointer-lock allow-storage-access-by-user-activation allow-downloads"
|
||||||
allow="microphone; camera; speaker-selection; geolocation; accelerometer; gyroscope; magnetometer; fullscreen; picture-in-picture; clipboard-read; clipboard-write">
|
allow="microphone; camera; speaker-selection; geolocation; accelerometer; gyroscope; magnetometer; fullscreen; picture-in-picture; clipboard-read; clipboard-write">
|
||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user