Commit a82fd7e5 by kaisa

feat:更新

Co-authored-by: Copilot <copilot@github.com>
parent 4e5e3a9c
Showing with 5 additions and 7 deletions
...@@ -867,15 +867,13 @@ webAppComm.prototype.backOriginApp = function () { ...@@ -867,15 +867,13 @@ webAppComm.prototype.backOriginApp = function () {
webAppCollaboration(obj2); webAppCollaboration(obj2);
} }
// 57: 告知客户端需要打开的是网页还是flutter页面(flutter使用) // 58: 告知客户端是否打开原生侧滑返回手势
webAppComm.prototype.openWebOrFlutterPage = function (pageType, popupStyle, extraString) { webAppComm.prototype.setNativeSwipeBackEnabled = function (enabled) {
let obj = { let obj = {
"cid": 57, "cid": 58,
"data": { "data": {
"msg": '告知客户端需要打开的是网页还是flutter页面', "msg": '是否打开原生侧滑返回手势',
"pageType": pageType, "enabled": enabled,
"popupStyle": popupStyle,
"extraString": extraString
} }
} }
let obj2 = JSON.stringify(obj); let obj2 = JSON.stringify(obj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment