Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
7 years ago
Commit
7d8383c3a427c4425040899bfa6fab4f7f7462df
1 parent
fc9dc895
sendAppLogs
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
src/index.html
src/store/yoho/index.js
src/index.html
View file @
7d8383c
...
...
@@ -11,9 +11,6 @@
<meta
content=
"email=no"
name=
"format-detection"
>
<script
type=
"text/javascript"
>
(
function
(
d
,
c
){
var
e
=
d
.
documentElement
,
a
=
"orientationchange"
in
window
?
"orientationchange"
:
"resize"
,
b
=
function
(){
var
f
=
e
.
clientWidth
;
if
(
!
f
){
return
}
if
(
f
>=
750
){
e
.
style
.
fontSize
=
"40px"
}
else
{
e
.
style
.
fontSize
=
40
*
(
f
/
750
)
+
"px"
}};
if
(
!
d
.
addEventListener
){
return
}
b
();
c
.
addEventListener
(
a
,
b
,
false
);
d
.
addEventListener
(
"DOMContentLoaded"
,
b
,
false
)})(
document
,
window
);
if
(
/YohoBuy/i
.
test
(
navigator
.
userAgent
||
''
))
{
window
.
appBaseLogs
=
{
device
:
{},
status
:
[],
events
:
[]}
}
</script>
</head>
<body>
...
...
src/store/yoho/index.js
View file @
7d8383c
...
...
@@ -65,7 +65,7 @@ export function createYoho() {
if
(
window
.
_yas
&&
window
.
_yas
.
sendAppLogs
)
{
window
.
_yas
.
sendAppLogs
({
appop
,
param
:
JSON
.
stringify
(
param
)
param
:
param
?
JSON
.
stringify
(
param
)
:
'{}'
},
asyncindx
);
}
}
...
...
Please
register
or
login
to post a comment