Commit 6f0420d0 by kaisa

feat:去除多余的cid34方法

parent 29352e59
Showing with 0 additions and 34 deletions
......@@ -568,40 +568,6 @@ webAppComm.prototype.changeTitle4 = function (title) {
webAppCollaboration(obj2);
}
// 修改网页标题 使用传入的高度
webAppComm.prototype.changeTitle5 = function (imgUrl, param) {
let obj = {
"cid": 34, //修改网页title 居中显示。
"data": {
"type": 1, //1 图片 2文本。
"imgUrl": imgUrl,
"style": {
//图片
"isUseHeight": param.isUseHeight,
"width": param.width,
"height": param.height,
}
}
}
let obj2 = JSON.stringify(obj);
webAppCollaboration(obj2);
}
// 修改网页标题 使用圖片的高度自適應
webAppComm.prototype.changeTitle6 = function (imgUrl) {
let obj = {
"cid": 34, //修改网页title 居中显示。
"data": {
"type": 1, //1 图片 2文本。
"imgUrl": imgUrl,
"style": {
}
}
}
let obj2 = JSON.stringify(obj);
webAppCollaboration(obj2);
}
//刷新网页
webAppComm.prototype.refreshWeb = function (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