fix: 修复 ref 未导入的错误
- 在 Player.vue 中添加缺失的 ref 导入 - 解决 "ReferenceError: Can't find variable: ref" 错误 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8ee2b928f9
commit
b0743178ed
|
@ -1,6 +1,6 @@
|
||||||
<!-- Player.vue - 添加预加载功能 -->
|
<!-- Player.vue - 添加预加载功能 -->
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, nextTick, useTemplateRef, watch } from 'vue'
|
import { computed, nextTick, ref, useTemplateRef, watch } from 'vue'
|
||||||
import { useRoute } from 'vue-router'
|
import { useRoute } from 'vue-router'
|
||||||
import { useFavourites } from '../stores/useFavourites'
|
import { useFavourites } from '../stores/useFavourites'
|
||||||
import { usePlayQueueStore } from '../stores/usePlayQueueStore'
|
import { usePlayQueueStore } from '../stores/usePlayQueueStore'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user