From 7b46a08a46271aa2e1281d1ceebc225996719641 Mon Sep 17 00:00:00 2001 From: pllx Date: Wed, 1 Jul 2026 11:27:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E6=A1=A5=E6=8E=A5=E5=90=8E=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E6=97=A0=E6=B3=95=E5=85=B3=E9=97=AD=E7=9A=84?= =?UTF-8?q?Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/chat/frame.blade.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/resources/views/chat/frame.blade.php b/resources/views/chat/frame.blade.php index ae66ce9..04f6936 100644 --- a/resources/views/chat/frame.blade.php +++ b/resources/views/chat/frame.blade.php @@ -320,10 +320,14 @@ function openSecuritySettings() { closeSecurityBindModal(); - // 自动拉起页面右侧的个人设置面板,里面包含微信绑定的二维码和绑定码 - const settingsModal = document.getElementById('settings-modal'); - if (settingsModal) { - settingsModal.style.display = 'flex'; + // 优先通过系统全局包装函数打开,触发延迟分包加载与事件绑定交互 + if (typeof window.openSettingsModal === 'function') { + window.openSettingsModal(); + } else { + const settingsModal = document.getElementById('settings-modal'); + if (settingsModal) { + settingsModal.style.display = 'flex'; + } } }