...
|
...
|
@@ -233,7 +233,7 @@ const yoho = { |
|
|
*/
|
|
|
goSearch(args, success, fail) {
|
|
|
if (this.isApp && window.yohoInterface) {
|
|
|
window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
|
|
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
|
method: 'go.search',
|
|
|
arguments: args
|
|
|
});
|
...
|
...
|
@@ -250,7 +250,7 @@ const yoho = { |
|
|
*/
|
|
|
goSetting(args, success, fail) {
|
|
|
if (this.isApp && window.yohoInterface) {
|
|
|
window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
|
|
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
|
method: 'go.setting',
|
|
|
arguments: args
|
|
|
});
|
...
|
...
|
@@ -267,7 +267,7 @@ const yoho = { |
|
|
*/
|
|
|
goSetAvatar(args, success, fail) {
|
|
|
if (this.isApp && window.yohoInterface) {
|
|
|
window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
|
|
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
|
method: 'go.setAvatar',
|
|
|
arguments: args
|
|
|
});
|
...
|
...
|
@@ -284,7 +284,7 @@ const yoho = { |
|
|
*/
|
|
|
goPageView(args, success, fail) {
|
|
|
if (this.isApp && window.yohoInterface) {
|
|
|
window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
|
|
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
|
method: 'go.pageView',
|
|
|
arguments: args
|
|
|
});
|
...
|
...
|
@@ -301,7 +301,7 @@ const yoho = { |
|
|
*/
|
|
|
showLoading(args, success, fail) {
|
|
|
if (this.isApp && window.yohoInterface) {
|
|
|
window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
|
|
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
|
method: 'go.loading',
|
|
|
arguments: {
|
|
|
show: args ? 'yes' : 'no'
|
...
|
...
|
|