diff --git a/src/components/Detail.vue b/src/components/Detail.vue index ed883d2..f9d5b96 100644 --- a/src/components/Detail.vue +++ b/src/components/Detail.vue @@ -131,7 +131,7 @@ export default { this.detail.show = false }, starEvent () { - star.find({ key: this.detail.site.key, ids: this.info.id }).then(res => { + star.find({ key: this.detail.key, ids: this.info.id }).then(res => { if (res) { this.$message.info('已存在') } else {