From b46065a201c09ce69f111806f2bda4a5f476bc4e Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期六, 18 十月 2025 17:20:22 +0800
Subject: [PATCH] fix:用户同步,机构同步
---
app/static/index.html | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/app/static/index.html b/app/static/index.html
index a7af653..0824d25 100644
--- a/app/static/index.html
+++ b/app/static/index.html
@@ -9,6 +9,25 @@
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
+
+ // 绂佺敤璺ㄥ煙瀛愭鏋惰嚜鍔ㄨ仛鐒�
+ document.addEventListener('DOMContentLoaded', function() {
+ // 闃绘iframe鍐呯殑鑷姩鑱氱劍
+ document.addEventListener('focusin', function(e) {
+ if (e.target.tagName === 'IFRAME' || e.target.closest('iframe')) {
+ e.preventDefault()
+ e.stopPropagation()
+ }
+ }, true)
+
+ // 闃绘webview鍐呯殑鑷姩鑱氱劍
+ document.addEventListener('focusin', function(e) {
+ if (e.target.tagName === 'WEB-VIEW' || e.target.closest('web-view')) {
+ e.preventDefault()
+ e.stopPropagation()
+ }
+ }, true)
+ })
</script>
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
</head>
--
Gitblit v1.9.1