From efc0afe4173f717e45ccfffe61e457cf04b40f90 Mon Sep 17 00:00:00 2001 From: Espoir-L <413308430@qq.com> Date: Thu, 11 Oct 2018 16:07:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=9A=E5=88=B6=E5=8C=96=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=BF=AE=E6=94=B9=E4=B8=8E=E5=B0=8F=E8=AF=B4=E9=98=85?= =?UTF-8?q?=E8=AF=BB=E5=99=A8=E7=9A=84=E5=8F=8C=E5=90=91=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E7=9B=91=E5=90=AC=E7=9A=84=E6=96=B9=E6=A1=88=20#1259?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mip-custom/mip-custom.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mip-custom/mip-custom.js b/src/mip-custom/mip-custom.js index a09bd4a62..f7623b35f 100644 --- a/src/mip-custom/mip-custom.js +++ b/src/mip-custom/mip-custom.js @@ -86,8 +86,8 @@ define(function () { * */ function getCurrentWindow () { - let pageId = window.MIP.viewer.page.currentPageId - let pageInfo = window.MIP.viewer.page.getPageById(pageId) + var pageId = window.MIP.viewer.page.currentPageId; + var pageInfo = window.MIP.viewer.page.getPageById(pageId); return pageInfo.targetWindow } @@ -287,6 +287,8 @@ define(function () { var performance = {}; performance.fetchStart = new Date() - 0; var paramUrl = url + + // 小说的特殊参数——novelData和fromSearch if (me.novelData) { var novelData = encodeURIComponent(JSON.stringify(me.novelData)) paramUrl = paramUrl + '&novelData=' + novelData