This commit is contained in:
2025-08-31 12:45:31 +08:00
parent 67f76ab49f
commit 10e8a07e99

View File

@@ -27,12 +27,6 @@ const AudioState = {
// ==================== 工具函数 ==================== // ==================== 工具函数 ====================
const Utils = { 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) { formatTime(seconds) {