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
陈峰
2019-02-19 11:00:26 +0800
Commit
918d7ccdbadbdf6c269b1c3ae97870dcc0403d3e
1 parent
48b89466
commit
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
apps/components/products/product-group-item.vue
apps/components/products/product-group-item.vue
View file @
918d7cc
...
...
@@ -33,6 +33,11 @@ export default {
favorite: this.product.favorite
};
},
watch: {
'product.favorite'(val) {
this.favorite = val;
}
},
computed: {
favClass() {
return {'btn-is-fav': this.favorite, loading: this.posting};
...
...
Please
register
or
login
to post a comment