Authored by yyq

star toast

... ... @@ -258,6 +258,14 @@ export default {
time: 1000
}).show();
} else {
if (this.viewOption.selected && this.type === 'star') {
this.$createToast && this.$createToast({
txt: '收藏成功',
type: 'txt',
time: 1000
}).show();
}
if (['praiseArticle', 'followArticle'].some(s => s === this.syncFnName)) {
this.fetchArticleUpdate({articleId: this.articleId});
}
... ...