Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
6 years ago
Commit
d0cc7b4664b79a56a3b1979c0f84d2fd5ebaef9b
1 parent
e073f3f8
star toast
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
apps/components/widgets/widget-icon-btn.vue
apps/components/widgets/widget-icon-btn.vue
View file @
d0cc7b4
...
...
@@ -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});
}
...
...
Please
register
or
login
to post a comment