Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
6 years ago
Commit
902576918463484907d3c3ff4180b017560f79c4
1 parent
982a1255
commit
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
apps/common/yoho.js
apps/utils/init-client.js
apps/common/yoho.js
View file @
9025769
...
...
@@ -612,6 +612,17 @@ const yoho = {
}
else
{
// tip(tipInfo);
}
},
setWebview
(
args
,
success
,
fail
)
{
if
(
this
.
isYohoBuy
&&
window
.
yohoInterface
)
{
window
.
yohoInterface
.
triggerEvent
(
success
||
nullFun
,
fail
||
nullFun
,
{
method
:
'set.webview'
,
arguments
:
args
});
}
else
{
// tip(tipInfo);
}
}
};
...
...
apps/utils/init-client.js
View file @
9025769
...
...
@@ -48,4 +48,10 @@ export default store => {
store
.
commit
(
'SET_LOGIN_INFO'
,
user
);
}
});
Vue
.
$yoho
.
ready
(()
=>
{
Vue
.
$yoho
.
setWebview
({
bounces
:
false
});
});
};
...
...
Please
register
or
login
to post a comment