Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郭成尧
9 years ago
Commit
5a21e3a911b863f61c0a3c3703141ebee38b8e7c
2 parents
22f1c7f7
61b99fdb
Merge branch 'feature/brand' into develop
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
public/vue/product/shop/top-bar.vue
public/vue/product/shop/top-bar.vue
View file @
5a21e3a
...
...
@@ -58,7 +58,6 @@
<script>
const yoho = require('yoho');
const $ = require('yoho-jquery');
const tip = require('common/tip');
module.exports = {
data() {
...
...
@@ -94,15 +93,12 @@
url: '/product/shop/collect.json',
data: data
}).done(result => {
tip(result.message);
if (result.code === 200) {
this.shareData.isFav = !this.shareData.isFav;
} else if (result.code === 403) {
yoho.goLogin();
yoho.goLogin(
'', this.collectShop
);
}
}).fail(() => {
tip('网络错误');
});
}).fail(() => {});
},
showFilter() {
this.$parent.$refs.filter.isVisible = !this.$parent.$refs.filter.isVisible;
...
...
Please
register
or
login
to post a comment