修改视频播放处理

master
于肖磊 2026-02-26 15:19:09 +08:00
parent bf771658b4
commit 924c2e03bf
1 changed files with 3 additions and 3 deletions

View File

@ -610,10 +610,10 @@
// 使URLSearchParams
const url = new URL(location.href);
url.searchParams.set('id', id);
history.replaceState(null, '', url.pathname + url.search);
// URL
const pathname = location.href.split('?')[0];
history.replaceState(null, '', pathname + url.search);
//#endif
const index = this.video_data_list.findIndex(item => item.id == id);
//