Skip to content

Commit

Permalink
perf: 历史记录
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Oct 25, 2024
1 parent e54bec4 commit e1ebee1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/views/cj/detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export default {
User.isLogin() && postHistory({
source_type: this.client == "origin" ? "origin_cj" : "cj",
source_id: this.id,
source_id: ~~this.id,
link: location.href,
title: post.title,
});
Expand Down
2 changes: 1 addition & 1 deletion src/views/item/detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export default {
User.isLogin() && postHistory({
source_type: this.client == "origin" ? "origin_item" : "item",
source_id: this.id,
source_id: ~~this.id,
link: location.href,
title: post.title,
});
Expand Down
2 changes: 1 addition & 1 deletion src/views/knowledge/knowledge-single.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default {
User.isLogin() && postHistory({
source_type: 'knowledge',
source_id: this.id,
source_id: ~~this.id,
link: location.href,
title: this.title,
});
Expand Down
2 changes: 1 addition & 1 deletion src/views/quest/single.vue
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export default {
User.isLogin() && postHistory({
source_type: this.client == "origin" ? "origin_quest" : "quest",
source_id: this.id,
source_id: ~~this.id,
link: location.href,
title: this.quest.name,
});
Expand Down
2 changes: 1 addition & 1 deletion src/views/wujie-detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export default {
User.isLogin() && postHistory({
source_type: "wujie",
source_id: this.id,
source_id: ~~this.id,
link: location.href,
title: post.title,
});
Expand Down

0 comments on commit e1ebee1

Please sign in to comment.