|
@@ -11,12 +11,13 @@
|
|
<div class="spinner"></div>
|
|
<div class="spinner"></div>
|
|
<div class="text">云教练加载中...</div>
|
|
<div class="text">云教练加载中...</div>
|
|
</div>
|
|
</div>
|
|
- <iframe class="musicIframe" frameborder="0" :src="url" @load="handleIframeLoad"></iframe>
|
|
|
|
|
|
+ <iframe class="musicIframe" frameborder="0" :src="url + `&Authorization=${getToken()}`" @load="handleIframeLoad"></iframe>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
import { ref } from "vue"
|
|
import { ref } from "vue"
|
|
|
|
+import { getToken } from "@/libs/auth"
|
|
|
|
|
|
const props = withDefaults(
|
|
const props = withDefaults(
|
|
defineProps<{
|
|
defineProps<{
|