[PR #700] [MERGED] perf: 优化歌曲播放时间显示格式相关代码 #592

Closed
opened 2026-02-27 07:12:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imsyy/SPlayer/pull/700
Author: @MoYingJi
Created: 12/31/2025
Status: Merged
Merged: 1/2/2026
Merged by: @imsyy

Base: devHead: pr/n


📝 Commits (2)

  • 56beb2a perf: 优化歌曲播放时间显示格式相关代码
  • 7c72d30 docs: 为「播放列表歌曲数量」设置项增加描述

📊 Changes

6 files changed (+88 additions, -80 deletions)

View changed files

📝 src/components/Player/MainPlayer.vue (+4 -11)
📝 src/components/Player/PlayerControl.vue (+5 -13)
📝 src/components/Setting/PlaySetting.vue (+6 -16)
src/composables/useTimeFormat.ts (+69 -0)
📝 src/stores/setting.ts (+4 -7)
📝 src/utils/format.ts (+0 -33)

📄 Description

之前的代码有点...抽象吧,根据他人的建议和我能做到的理解进行了修改,同时增加了注释


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/imsyy/SPlayer/pull/700 **Author:** [@MoYingJi](https://github.com/MoYingJi) **Created:** 12/31/2025 **Status:** ✅ Merged **Merged:** 1/2/2026 **Merged by:** [@imsyy](https://github.com/imsyy) **Base:** `dev` ← **Head:** `pr/n` --- ### 📝 Commits (2) - [`56beb2a`](https://github.com/imsyy/SPlayer/commit/56beb2a27266ca54b052d9bf11e0dea533ac4cd8) perf: 优化歌曲播放时间显示格式相关代码 - [`7c72d30`](https://github.com/imsyy/SPlayer/commit/7c72d308c001b258a1f3cae23c981553fe224b39) docs: 为「播放列表歌曲数量」设置项增加描述 ### 📊 Changes **6 files changed** (+88 additions, -80 deletions) <details> <summary>View changed files</summary> 📝 `src/components/Player/MainPlayer.vue` (+4 -11) 📝 `src/components/Player/PlayerControl.vue` (+5 -13) 📝 `src/components/Setting/PlaySetting.vue` (+6 -16) ➕ `src/composables/useTimeFormat.ts` (+69 -0) 📝 `src/stores/setting.ts` (+4 -7) 📝 `src/utils/format.ts` (+0 -33) </details> ### 📄 Description 之前的代码有点...抽象吧,根据他人的建议和我能做到的理解进行了修改,同时增加了注释 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:12:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SPlayer#592
No description provided.