From 8e7ff3844384d73d3ccfaa633c2f428d1ef66f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 26 Feb 2026 17:57:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/plugins/video/detail/detail.vue | 14 -------------- pages/plugins/video/index/index.vue | 22 +++++++++++++++++++--- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/pages/plugins/video/detail/detail.vue b/pages/plugins/video/detail/detail.vue index bf7d6d1d..73da7b4d 100644 --- a/pages/plugins/video/detail/detail.vue +++ b/pages/plugins/video/detail/detail.vue @@ -542,14 +542,6 @@ this.update_display_data(); setTimeout(() => { - //#ifdef H5 - // 更新页面标题 - const current_video = this.video_data_list.find(item => item.id == id); - if (current_video && current_video.title) { - document.title = current_video.title; - } - //#endif - // // 更新分享信息 this.update_share_info(this.display_video_list[this.current_index]); @@ -628,12 +620,6 @@ // 替换URL路径,保持查询参数不变 const pathname = location.href.split('?')[0]; history.replaceState(null, '', pathname + url.search); - - // 更新页面标题 - const current_video = this.video_data_list.find(item => item.id == id); - if (current_video && current_video.title) { - document.title = current_video.title; - } //#endif const index = this.video_data_list.findIndex(item => item.id == id); diff --git a/pages/plugins/video/index/index.vue b/pages/plugins/video/index/index.vue index 268242bf..19f08d35 100644 --- a/pages/plugins/video/index/index.vue +++ b/pages/plugins/video/index/index.vue @@ -1,7 +1,7 @@