Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b240af75
authored
Nov 05, 2025
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:更新cid
parent
44a9fce9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
15 deletions
js/webAppComm.js
js/webAppComm.js
View file @
b240af75
...
@@ -555,8 +555,21 @@ webAppComm.prototype.changeTitle3 = function (imgUrl, param) {
...
@@ -555,8 +555,21 @@ webAppComm.prototype.changeTitle3 = function (imgUrl, param) {
webAppCollaboration
(
obj2
);
webAppCollaboration
(
obj2
);
}
}
// 修改网页标题
webAppComm
.
prototype
.
changeTitle4
=
function
(
title
)
{
let
obj
=
{
"cid"
:
34
,
//修改网页title 居中显示。
"data"
:
{
"type"
:
2
,
//1 图片 2文本。
"imgTxt"
:
title
,
}
}
let
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
}
//修改网页标题
//修改网页标题
webAppComm
.
prototype
.
changeTitle
4
=
function
(
imgUrl
,
param
,
isUseHeight
=
0
)
{
webAppComm
.
prototype
.
changeTitle
5
=
function
(
imgUrl
,
param
,
isUseHeight
=
0
)
{
let
obj
=
{
let
obj
=
{
"cid"
:
34
,
//修改网页title 居中显示。
"cid"
:
34
,
//修改网页title 居中显示。
"data"
:
{
"data"
:
{
...
@@ -575,20 +588,6 @@ webAppComm.prototype.changeTitle4 = function (imgUrl, param, isUseHeight = 0) {
...
@@ -575,20 +588,6 @@ webAppComm.prototype.changeTitle4 = function (imgUrl, param, isUseHeight = 0) {
webAppCollaboration
(
obj2
);
webAppCollaboration
(
obj2
);
}
}
// 修改网页标题
webAppComm
.
prototype
.
changeTitle4
=
function
(
title
)
{
let
obj
=
{
"cid"
:
34
,
//修改网页title 居中显示。
"data"
:
{
"type"
:
2
,
//1 图片 2文本。
"imgTxt"
:
title
,
}
}
let
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
}
//刷新网页
//刷新网页
webAppComm
.
prototype
.
refreshWeb
=
function
(
callback
)
{
webAppComm
.
prototype
.
refreshWeb
=
function
(
callback
)
{
callback
&&
callback
();
callback
&&
callback
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment