diff --git a/src/views/cj/detail.vue b/src/views/cj/detail.vue index 77b63e24..923950d4 100644 --- a/src/views/cj/detail.vue +++ b/src/views/cj/detail.vue @@ -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, }); diff --git a/src/views/item/detail.vue b/src/views/item/detail.vue index 7cb2b560..88b1035f 100644 --- a/src/views/item/detail.vue +++ b/src/views/item/detail.vue @@ -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, }); diff --git a/src/views/knowledge/knowledge-single.vue b/src/views/knowledge/knowledge-single.vue index 7ca7e189..1fdef634 100644 --- a/src/views/knowledge/knowledge-single.vue +++ b/src/views/knowledge/knowledge-single.vue @@ -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, }); diff --git a/src/views/quest/single.vue b/src/views/quest/single.vue index 1d5b4886..a1c9e53e 100644 --- a/src/views/quest/single.vue +++ b/src/views/quest/single.vue @@ -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, }); diff --git a/src/views/wujie-detail.vue b/src/views/wujie-detail.vue index a2e0b0a2..170f8b67 100644 --- a/src/views/wujie-detail.vue +++ b/src/views/wujie-detail.vue @@ -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, });