Authored by htoooth

fix app go.finish

@@ -574,6 +574,18 @@ const yoho = { @@ -574,6 +574,18 @@ const yoho = {
574 574
575 $appLink.href = url; 575 $appLink.href = url;
576 $appLink.click(); 576 $appLink.click();
  577 + },
  578 +
  579 + finishPage(args, success, fail) {
  580 + if (this.isYohoBuy && window.yohoInterface) {
  581 + window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
  582 + method: 'go.finish',
  583 + arguments: args
  584 + });
  585 + } else {
  586 +
  587 + // tip(tipInfo);
  588 + }
577 } 589 }
578 }; 590 };
579 591
@@ -80,7 +80,7 @@ export default { @@ -80,7 +80,7 @@ export default {
80 ]; 80 ];
81 }, 81 },
82 onBackClick() { 82 onBackClick() {
83 - this.$yoho.goBack({}); 83 + this.$yoho.finishPage({});
84 }, 84 },
85 onHelpClick() { 85 onHelpClick() {
86 this.$yoho.goNewPage({ 86 this.$yoho.goNewPage({