From 82d7a691234bd4340313287ee5653501acf6e050 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Tue, 10 Nov 2020 10:13:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E8=AF=84=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 5 ++++- src/components/VideoReview.vue | 7 +++++-- src/views/regime/VideoInfo.vue | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index ebd766f..b63c94e 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -232,6 +232,7 @@ interface VideoDetail{ updated_at: string; share: number; watch: number; + score: string; } export async function videodetail(data?: any,ifupdate?: number) { @@ -262,7 +263,9 @@ export async function videodetail(data?: any,ifupdate?: number) { createdAt: res.data.created_at, updatedAt: res.data.updated_at, watch: res.data.watch, - share: res.data.share + share: res.data.share, + score: res.data.score + } } diff --git a/src/components/VideoReview.vue b/src/components/VideoReview.vue index 658ff9f..65d369a 100644 --- a/src/components/VideoReview.vue +++ b/src/components/VideoReview.vue @@ -3,9 +3,9 @@