fix: 修复安全弹窗桥接后设置面板无法关闭的Bug
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user