Authored by 陈峰

commit

... ... @@ -607,7 +607,6 @@ const yoho = {
},
share(args, success, fail) {
console.log(args)
if (this.isYohoBuy && window.yohoInterface) {
window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
method: 'go.showshareaction',
... ...
... ... @@ -22,14 +22,10 @@ export default {
const hint = this.user ? `回复${this.user}:` : '';
if (this.$yoho.isYohoBuy) {
this.$yoho.getInput({
hint,
success: (content) => {
this.comment(content);
},
fail: (e) => {
console.error(e);
}
this.$yoho.getInput({hint}, (content) => {
this.comment(content);
}, (e) => {
console.error(e);
});
} else {
this.$createDialog({
... ...
... ... @@ -101,7 +101,6 @@ export default {
imgUrl: this.data.imageUrl,
link: `http://yoho-community-web.test3.ingress.dev.yohocorp.com/article/${this.data.articleId}`,
desc: this.data.intro,
hideType: ['7', '8', '9']
});
},
onExpand() {
... ...