优化歌词特殊字符移除

pull/459/head
lyswhut 2021-03-07 01:22:25 +08:00
parent ef52cd6991
commit 493f7809a4
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import { httpFetch } from '../../request'
import { decodeLyric } from './util'
import { decodeName } from '../..'
const headExp = /^.*\[id:\$00000000\]\n/
const headExp = /^.*\[id:\$\w+\]\n/
const parseLyric = str => {
str = str.replace(/\r/g, '')