diff --git a/src/components/Film.vue b/src/components/Film.vue
index f158d49..7a3990f 100644
--- a/src/components/Film.vue
+++ b/src/components/Film.vue
@@ -88,6 +88,7 @@
{{i.type}}
{{i.year}}
{{i.last}}
+ {{i.site}}
{{i.note}}
播放
@@ -397,9 +398,13 @@ export default {
this.$message.info('无搜索结果')
}
if (type === '[object Array]') {
- this.searchContents.push(...res)
+ res.forEach(element => {
+ element.site = this.site.name
+ this.searchContents.push(element)
+ })
}
if (type === '[object Object]') {
+ res.site = this.site.name
this.searchContents.push(res)
}
})