From 975562a66bca9e4b7c9aa34d73bcef73804a458e Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Wed, 19 Aug 2020 23:31:20 +0200 Subject: [PATCH] Fix a bug in Detail.vue --- src/components/Detail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {