Authored by 陈峰

commit

... ... @@ -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);
}
}
};
... ...
... ... @@ -48,4 +48,10 @@ export default store => {
store.commit('SET_LOGIN_INFO', user);
}
});
Vue.$yoho.ready(() => {
Vue.$yoho.setWebview({
bounces: false
});
});
};
... ...