From 10e8a07e99f1a6277dec2d7a4473c137a49c5991 Mon Sep 17 00:00:00 2001 From: HuangHai <10402852@qq.com> Date: Sun, 31 Aug 2025 12:45:31 +0800 Subject: [PATCH] 'commit' --- dsLightRag/static/YunXiao/xueban.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dsLightRag/static/YunXiao/xueban.js b/dsLightRag/static/YunXiao/xueban.js index 841393b6..0207dcfa 100644 --- a/dsLightRag/static/YunXiao/xueban.js +++ b/dsLightRag/static/YunXiao/xueban.js @@ -27,13 +27,7 @@ const AudioState = { // ==================== 工具函数 ==================== const Utils = { - // 获取URL参数 - getUrlParam(name) { - const reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)'); - const r = window.location.search.substr(1).match(reg); - return r ? unescape(r[2]) : null; - }, - + // 格式化时间显示 formatTime(seconds) { const mins = Math.floor(seconds / 60).toString().padStart(2, '0');