mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
fix: bugs (#1525)
* fix(component/Lyric): 点击歌手名字跳转后不会关闭歌词面板 * fix: 移除build.sqlite3.js中的dll复制 当前使用的better-sqlite3版本已经支持仅单个node文件,不需要也不再构建dll文件 * fix: 对歌词使用更精确的key,避免多个歌词时间相同时的key相同错误 * update
This commit is contained in:
parent
3a204dc7bb
commit
e6b1b91c01
5 changed files with 16 additions and 10 deletions
|
|
@ -95,7 +95,7 @@ const Lyric = ({ className }: { className?: string }) => {
|
|||
{displayLines.map(({ content, time }, index) => {
|
||||
return (
|
||||
<motion.div
|
||||
key={time}
|
||||
key={`${String(index)}-${String(time)}`}
|
||||
custom={index}
|
||||
variants={variants}
|
||||
initial={'initial'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue