...
|
...
|
@@ -130,9 +130,17 @@ export default { |
|
|
this.isLogin = true;
|
|
|
}
|
|
|
},
|
|
|
gotoDetailPage(e) {
|
|
|
console.log(e.currentTarget.dataset.id);
|
|
|
this.$router.push('')
|
|
|
gotoDetailPage(e) { // 跳转详情页
|
|
|
let articleId = e.currentTarget.dataset.id;
|
|
|
|
|
|
if (articleId) {
|
|
|
this.$router.push({
|
|
|
name: 'ArticleDetail',
|
|
|
params: {
|
|
|
articleId: 445
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
};
|
...
|
...
|
|