- 在 TrackItem 组件中添加 playfrom 属性,用于接收播放函数 - 修改 playTheAlbum 函数支持从指定索引开始播放 - 为 TrackItem 按钮添加点击事件,点击时调用 playfrom 函数 |
||
---|---|---|
.vscode | ||
public | ||
src | ||
.gitignore | ||
biome.json | ||
index.html | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.