Commit 66483809 by kaisa

feat:新增刷新方法日志

parent c7e1e828
Showing with 11 additions and 9 deletions
...@@ -51,14 +51,14 @@ function webAppComm() { ...@@ -51,14 +51,14 @@ function webAppComm() {
this.langList = [ this.langList = [
// 简中 // 简中
{ {
'lang1':'活动规则', 'lang1': '活动规则',
'lang2':'刷新', 'lang2': '刷新',
'lang3':'客服咨询', 'lang3': '客服咨询',
'lang4':'推荐朋友', 'lang4': '推荐朋友',
'lang5':'活动专区', 'lang5': '活动专区',
'lang6':'关闭页面', 'lang6': '关闭页面',
'lang7':'露水', 'lang7': '露水',
'lang8':'宝石' 'lang8': '宝石'
}, },
//1英文 //1英文
{ {
...@@ -523,6 +523,7 @@ webAppComm.prototype.changeTitle3 = function (imgUrl, param) { ...@@ -523,6 +523,7 @@ webAppComm.prototype.changeTitle3 = function (imgUrl, param) {
//刷新网页 //刷新网页
webAppComm.prototype.refreshWeb = function (callback) { webAppComm.prototype.refreshWeb = function (callback) {
alert('刷新网页')
callback && callback(); callback && callback();
if (this.needRefresh) { if (this.needRefresh) {
location.reload(); location.reload();
...@@ -699,7 +700,7 @@ webAppComm.prototype.userBehaviorSpecification = function (type) { ...@@ -699,7 +700,7 @@ webAppComm.prototype.userBehaviorSpecification = function (type) {
"cid": 48, "cid": 48,
"reqCode": new Date().getTime(), "reqCode": new Date().getTime(),
"data": { "data": {
'type': type 'type': type
} }
} }
let obj2 = JSON.stringify(obj); let obj2 = JSON.stringify(obj);
...@@ -730,6 +731,7 @@ webAppComm.prototype.evokeIptPasteText = function (text) { ...@@ -730,6 +731,7 @@ webAppComm.prototype.evokeIptPasteText = function (text) {
webAppCollaboration(obj2); webAppCollaboration(obj2);
} }
//接收客戶端的消息 //接收客戶端的消息
webAppComm.prototype.reMsgFromApp = function (callback) { webAppComm.prototype.reMsgFromApp = function (callback) {
callback && callback(); callback && callback();
......
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