Compiled with 1 warnings 2:13:11
warning in ./src/store/index.js
"export 'default' (imported as 'api') was not found in '@/api/index.js'
原因是api/index.js没有输出
在index.js里补上
export default {
getBanner,getMusicList,getPlaylistDetail,getLyric
}