ecinc-cloud-mappaio 9.6.27 → 9.6.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/ecmappaio.common.js
CHANGED
|
@@ -41523,7 +41523,11 @@ var src_install = function install(Vue) {
|
|
|
41523
41523
|
}))();
|
|
41524
41524
|
},
|
|
41525
41525
|
setTitle: function setTitle(data, callback) {
|
|
41526
|
-
|
|
41526
|
+
if (window.wxCfg && navigator.userAgent.indexOf('Android') !== -1 && window.wxgobakMode === 'topbarBtn' && document.querySelector('.App-nav-bar')) {
|
|
41527
|
+
document.title = ''; //安卓微信版本,显示顶部操作按钮
|
|
41528
|
+
} else {
|
|
41529
|
+
document.title = data.text;
|
|
41530
|
+
}
|
|
41527
41531
|
this.$bus.emit('setTitle', data, callback);
|
|
41528
41532
|
if (window.mappType === 'ecinc') {
|
|
41529
41533
|
this.jsBridgeCallNativeMethod('setTitle', data, callback);
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -41533,7 +41533,11 @@ var src_install = function install(Vue) {
|
|
|
41533
41533
|
}))();
|
|
41534
41534
|
},
|
|
41535
41535
|
setTitle: function setTitle(data, callback) {
|
|
41536
|
-
|
|
41536
|
+
if (window.wxCfg && navigator.userAgent.indexOf('Android') !== -1 && window.wxgobakMode === 'topbarBtn' && document.querySelector('.App-nav-bar')) {
|
|
41537
|
+
document.title = ''; //安卓微信版本,显示顶部操作按钮
|
|
41538
|
+
} else {
|
|
41539
|
+
document.title = data.text;
|
|
41540
|
+
}
|
|
41537
41541
|
this.$bus.emit('setTitle', data, callback);
|
|
41538
41542
|
if (window.mappType === 'ecinc') {
|
|
41539
41543
|
this.jsBridgeCallNativeMethod('setTitle', data, callback);
|