From 09ebc746a068bb88ca0434577c1e9002fd5174b4 Mon Sep 17 00:00:00 2001 From: fancy Date: Tue, 21 Dec 2021 09:27:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AE=B9=E7=AE=A1=E7=90=86=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E7=BC=96=E8=BE=91ios=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/x_desktop/js/base.js | 2 +- o2web/source/x_desktop/js/base_simple.js | 2 +- o2web/source/x_desktop/js/base_simple_anonymous.js | 2 +- o2web/source/x_desktop/js/xbase.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/o2web/source/x_desktop/js/base.js b/o2web/source/x_desktop/js/base.js index f0df89be29..48f4ddb1c8 100644 --- a/o2web/source/x_desktop/js/base.js +++ b/o2web/source/x_desktop/js/base.js @@ -165,7 +165,7 @@ if (!window.layout || !layout.desktop || !layout.addReady) { } else if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.openO2CmsDocument) { window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, - "docTitle": title + "docTitle": title, "options": JSON.stringify(options) }); } else { window.location = o2.filterUrl("../x_desktop/appMobile.html?" + par + ((layout.debugger) ? "&debugger" : "")); diff --git a/o2web/source/x_desktop/js/base_simple.js b/o2web/source/x_desktop/js/base_simple.js index 70bc4b6357..a047d72407 100644 --- a/o2web/source/x_desktop/js/base_simple.js +++ b/o2web/source/x_desktop/js/base_simple.js @@ -344,7 +344,7 @@ o2.addReady(function () { } else if (window.o2android && window.o2android.openO2CmsDocument) { window.o2android.openO2CmsDocument(options.documentId, title); } else if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.openO2CmsDocument) { - window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title }); + window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title, "options": JSON.stringify(options) }); } else { window.location = o2.filterUrl("../x_desktop/appMobile.html?" + par + ((layout.debugger) ? "&debugger" : "")); } diff --git a/o2web/source/x_desktop/js/base_simple_anonymous.js b/o2web/source/x_desktop/js/base_simple_anonymous.js index 0ebef50735..590375b5dd 100644 --- a/o2web/source/x_desktop/js/base_simple_anonymous.js +++ b/o2web/source/x_desktop/js/base_simple_anonymous.js @@ -291,7 +291,7 @@ o2.addReady(function () { } else if (window.o2android && window.o2android.openO2CmsDocument) { window.o2android.openO2CmsDocument(options.documentId, title); } else if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.openO2CmsDocument) { - window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title }); + window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title, "options": JSON.stringify(options) }); } else { window.location = o2.filterUrl("../x_desktop/appMobile.html?" + par + ((layout.debugger) ? "&debugger" : "")); } diff --git a/o2web/source/x_desktop/js/xbase.js b/o2web/source/x_desktop/js/xbase.js index 33f9091c29..23e270f771 100644 --- a/o2web/source/x_desktop/js/xbase.js +++ b/o2web/source/x_desktop/js/xbase.js @@ -128,7 +128,7 @@ o2.xDesktop.requireApp = function (module, clazz, callback, async) { } else if (window.o2android && window.o2android.openO2CmsDocument) { window.o2android.openO2CmsDocument(options.documentId, title); } else if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.openO2CmsDocument) { - window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title }); + window.webkit.messageHandlers.openO2CmsDocument.postMessage({ "docId": options.documentId, "docTitle": title, "options": JSON.stringify(options) }); } else { window.location = o2.filterUrl("../x_desktop/appMobile.html?" + par + ((layout.debugger) ? "&debugger" : "")); } -- GitLab