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 @@