diff --git a/src/components/Detail.vue b/src/components/Detail.vue index 76f0ade..a123ba5 100644 --- a/src/components/Detail.vue +++ b/src/components/Detail.vue @@ -136,7 +136,7 @@ export default { this.$message.info('已存在') } else { const docs = { - site: this.detail.key, + site: this.detail.site, ids: this.info.id, name: this.info.name, type: this.info.type, diff --git a/src/components/Film.vue b/src/components/Film.vue index e309871..c1c9c8f 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -285,6 +285,7 @@ export default { this.detail = { show: true, key: site.key, + site: site, info: e } },