|
@@ -233,7 +233,7 @@ const yoho = { |
|
@@ -233,7 +233,7 @@ const yoho = { |
|
233
|
*/
|
233
|
*/
|
|
234
|
goSearch(args, success, fail) {
|
234
|
goSearch(args, success, fail) {
|
|
235
|
if (this.isApp && window.yohoInterface) {
|
235
|
if (this.isApp && window.yohoInterface) {
|
|
236
|
- window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
236
|
+ window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
237
|
method: 'go.search',
|
237
|
method: 'go.search',
|
|
238
|
arguments: args
|
238
|
arguments: args
|
|
239
|
});
|
239
|
});
|
|
@@ -250,7 +250,7 @@ const yoho = { |
|
@@ -250,7 +250,7 @@ const yoho = { |
|
250
|
*/
|
250
|
*/
|
|
251
|
goSetting(args, success, fail) {
|
251
|
goSetting(args, success, fail) {
|
|
252
|
if (this.isApp && window.yohoInterface) {
|
252
|
if (this.isApp && window.yohoInterface) {
|
|
253
|
- window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
253
|
+ window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
254
|
method: 'go.setting',
|
254
|
method: 'go.setting',
|
|
255
|
arguments: args
|
255
|
arguments: args
|
|
256
|
});
|
256
|
});
|
|
@@ -267,7 +267,7 @@ const yoho = { |
|
@@ -267,7 +267,7 @@ const yoho = { |
|
267
|
*/
|
267
|
*/
|
|
268
|
goSetAvatar(args, success, fail) {
|
268
|
goSetAvatar(args, success, fail) {
|
|
269
|
if (this.isApp && window.yohoInterface) {
|
269
|
if (this.isApp && window.yohoInterface) {
|
|
270
|
- window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
270
|
+ window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
271
|
method: 'go.setAvatar',
|
271
|
method: 'go.setAvatar',
|
|
272
|
arguments: args
|
272
|
arguments: args
|
|
273
|
});
|
273
|
});
|
|
@@ -284,7 +284,7 @@ const yoho = { |
|
@@ -284,7 +284,7 @@ const yoho = { |
|
284
|
*/
|
284
|
*/
|
|
285
|
goPageView(args, success, fail) {
|
285
|
goPageView(args, success, fail) {
|
|
286
|
if (this.isApp && window.yohoInterface) {
|
286
|
if (this.isApp && window.yohoInterface) {
|
|
287
|
- window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
287
|
+ window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
288
|
method: 'go.pageView',
|
288
|
method: 'go.pageView',
|
|
289
|
arguments: args
|
289
|
arguments: args
|
|
290
|
});
|
290
|
});
|
|
@@ -301,7 +301,7 @@ const yoho = { |
|
@@ -301,7 +301,7 @@ const yoho = { |
|
301
|
*/
|
301
|
*/
|
|
302
|
showLoading(args, success, fail) {
|
302
|
showLoading(args, success, fail) {
|
|
303
|
if (this.isApp && window.yohoInterface) {
|
303
|
if (this.isApp && window.yohoInterface) {
|
|
304
|
- window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
304
|
+ window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
|
|
305
|
method: 'go.loading',
|
305
|
method: 'go.loading',
|
|
306
|
arguments: {
|
306
|
arguments: {
|
|
307
|
show: args ? 'yes' : 'no'
|
307
|
show: args ? 'yes' : 'no'
|