Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
d16ed70d43b88dbbef35f416defe54b7aeeecfaf
1 parent
ac704c27
add point
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
web-static/js/common.js
web-static/js/common.js
View file @
d16ed70
...
...
@@ -198,12 +198,8 @@ $.extend({
// 添加埋点
function
addPoint
(
operate
,
parameter
)
{
if
(
!
window
.
_yas
||
!
window
.
_yas
.
sendCustomInfo
)
{
checkYas
();
return
;
}
if
(
!
operate
)
{
if
(
!
window
.
_yas
||
!
window
.
_yas
.
sendCustomInfo
||
!
operate
)
{
checkYas
(
operate
,
parameter
);
return
;
}
...
...
@@ -233,7 +229,7 @@ function addPoint(operate, parameter) {
},
true
);
}
function
checkYas
()
{
function
checkYas
(
operate
,
parameter
)
{
// yas库异步加载
var
sto
=
setInterval
(
function
()
{
if
(
window
.
_yas
&&
window
.
_yas
.
sendCustomInfo
)
{
...
...
Please
register
or
login
to post a comment