{ location.replace(link); }, 50); } // 处理 iframe 视图路径 var viewPath = location.hash || link; var iframe = document.getElementById("h5-viwer"); if (iframe && viewPath) { iframe.src = viewPath; } });