Authored by 陈峰

commit

@@ -607,7 +607,6 @@ const yoho = { @@ -607,7 +607,6 @@ const yoho = {
607 }, 607 },
608 608
609 share(args, success, fail) { 609 share(args, success, fail) {
610 - console.log(args)  
611 if (this.isYohoBuy && window.yohoInterface) { 610 if (this.isYohoBuy && window.yohoInterface) {
612 window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, { 611 window.yohoInterface.triggerEvent(success || nullFun, fail || nullFun, {
613 method: 'go.showshareaction', 612 method: 'go.showshareaction',
@@ -22,14 +22,10 @@ export default { @@ -22,14 +22,10 @@ export default {
22 const hint = this.user ? `回复${this.user}:` : ''; 22 const hint = this.user ? `回复${this.user}:` : '';
23 23
24 if (this.$yoho.isYohoBuy) { 24 if (this.$yoho.isYohoBuy) {
25 - this.$yoho.getInput({  
26 - hint,  
27 - success: (content) => {  
28 - this.comment(content);  
29 - },  
30 - fail: (e) => {  
31 - console.error(e);  
32 - } 25 + this.$yoho.getInput({hint}, (content) => {
  26 + this.comment(content);
  27 + }, (e) => {
  28 + console.error(e);
33 }); 29 });
34 } else { 30 } else {
35 this.$createDialog({ 31 this.$createDialog({
@@ -101,7 +101,6 @@ export default { @@ -101,7 +101,6 @@ export default {
101 imgUrl: this.data.imageUrl, 101 imgUrl: this.data.imageUrl,
102 link: `http://yoho-community-web.test3.ingress.dev.yohocorp.com/article/${this.data.articleId}`, 102 link: `http://yoho-community-web.test3.ingress.dev.yohocorp.com/article/${this.data.articleId}`,
103 desc: this.data.intro, 103 desc: this.data.intro,
104 - hideType: ['7', '8', '9']  
105 }); 104 });
106 }, 105 },
107 onExpand() { 106 onExpand() {