Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后台管理 歌曲信息那里刷不出歌 #1

Open
623865984 opened this issue Jun 22, 2019 · 4 comments
Open

后台管理 歌曲信息那里刷不出歌 #1

623865984 opened this issue Jun 22, 2019 · 4 comments

Comments

@623865984
Copy link

给了这个提示
vue.esm.js?efeb:591 [Vue warn]: Error in render: "TypeError: Cannot read property 'forEach' of null"

found in

--->

at src\components\page\SongPage.vue
at src\components\common\Home.vue
at src\App.vue

@Yin-Hongwei
Copy link
Owner

你看数据库song表里有的歌词是不是啥也没有,歌词啥也没有时候先写上[00:00:00],或者你在SongPage组件中的parseLyric方法里判断一下歌词为空的时候怎么处理歌词,前不久偷懒了我那里没判断。后台管理歌曲信息我那里有待改进,当时图方便直接用了个组件,但是要显示那么多音乐用这个组件就不合适,因为加载数据太慢了,适合一个音乐控件的那种用。

@623865984
Copy link
Author

谢谢大佬,我已经解决了

@Yin-Hongwei
Copy link
Owner

客气啦,我也没帮上啥,哈哈哈😂

@lykloveyou
Copy link

大佬方便给个QQ交流下吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants