Authored by htoooth

fix app go.finish

... ... @@ -574,6 +574,18 @@ const yoho = {
$appLink.href = url;
$appLink.click();
},
finishPage(args, success, fail) {
if (this.isYohoBuy && window.yohoInterface) {
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
method: 'go.finish',
arguments: args
});
} else {
// tip(tipInfo);
}
}
};
... ...
... ... @@ -80,7 +80,7 @@ export default {
];
},
onBackClick() {
this.$yoho.goBack({});
this.$yoho.finishPage({});
},
onHelpClick() {
this.$yoho.goNewPage({
... ...