diff --git a/frontend/app.js b/frontend/app.js index 7b0768d..0eec044 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -2019,8 +2019,8 @@ handleDragLeave(e) { if (!url) return; const newWindow = window.open(url, '_blank', 'noopener'); if (!newWindow || newWindow.closed || typeof newWindow.closed === 'undefined') { - // 部分浏览器可能阻止弹窗,退回当前页跳转 - window.location.href = url; + // 弹窗被拦截时提示用户手动打开,避免当前页跳转 + this.showToast('info', '提示', '浏览器阻止了新标签页,请允许弹窗或手动打开链接'); } },