mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 19:12:10 +08:00
修复tx源的歌词无法显示的问题
This commit is contained in:
parent
ac7548da97
commit
6035e242c5
@ -6,3 +6,7 @@
|
||||
### 调整
|
||||
|
||||
- 为了与搜索、歌单操作栏位置统一,现将我的列表-收藏的列表操作栏由底部挪到顶部
|
||||
|
||||
### 修复
|
||||
|
||||
- 修复tx源的歌词无法显示的问题
|
||||
|
@ -30,9 +30,7 @@ export const formatPlayTime2 = time => {
|
||||
|
||||
export const b64DecodeUnicode = str => {
|
||||
// Going backwards: from bytestream, to percent-encoding, to original string.
|
||||
return decodeURIComponent(window.atob(str).split('').map(function(c) {
|
||||
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)
|
||||
}).join(''))
|
||||
return Buffer.from(str, 'base64').toString()
|
||||
}
|
||||
|
||||
const encodeNames = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user