mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
fix import
This commit is contained in:
@@ -65,7 +65,7 @@ import {
|
||||
} from 'naive-ui'
|
||||
import { computed, h, onActivated, onDeactivated, onMounted, onUnmounted, ref } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import SongRequestOBS from '../obs/LiveRequestOBS.vue'
|
||||
import LiveRequestOBS from '../obs/LiveRequestOBS.vue'
|
||||
|
||||
const defaultSettings = {
|
||||
orderPrefix: '点播',
|
||||
@@ -1235,7 +1235,7 @@ onUnmounted(() => {
|
||||
<NAlert title="这是什么? " type="info"> 将等待队列以及结果显示在OBS中 </NAlert>
|
||||
<NDivider> 浏览 </NDivider>
|
||||
<div style="height: 500px; width: 280px; position: relative; margin: 0 auto">
|
||||
<SongRequestOBS :id="accountInfo?.id" />
|
||||
<LiveRequestOBS :id="accountInfo?.id" />
|
||||
</div>
|
||||
<br />
|
||||
<NInput :value="'https://vtsuru.live/obs/live-request?id=' + accountInfo?.id" />
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { useAccount } from '@/api/account'
|
||||
import { Setting_LiveRequest, SongRequestInfo, SongsInfo, UserInfo } from '@/api/api-models'
|
||||
import SongList from '@/components/SongList.vue'
|
||||
import SongRequestOBS from '@/views/obs/SongRequestOBS.vue'
|
||||
import LiveRequestOBS from '@/views/obs/LiveRequestOBS.vue'
|
||||
import { CloudAdd20Filled } from '@vicons/fluent'
|
||||
import { NButton, NCard, NCollapse, NCollapseItem, NDivider, NIcon, NTooltip, useMessage } from 'naive-ui'
|
||||
import { h, ref } from 'vue'
|
||||
@@ -72,7 +72,7 @@ const buttoms = (song: SongsInfo) => [
|
||||
<NCollapseItem title="点歌列表">
|
||||
<NCard size="small" embedded>
|
||||
<div style="height: 400px; width: 700px; max-width: 100%; position: relative; margin: 0 auto">
|
||||
<SongRequestOBS :id="userInfo?.id" />
|
||||
<LiveRequestOBS :id="userInfo?.id" />
|
||||
</div>
|
||||
</NCard>
|
||||
</NCollapseItem>
|
||||
|
||||
@@ -3,7 +3,7 @@ import { GetGuardColor } from '@/Utils'
|
||||
import { useAccount } from '@/api/account'
|
||||
import { FunctionTypes, Setting_LiveRequest, SongRequestInfo, SongsInfo, UserInfo } from '@/api/api-models'
|
||||
import SongPlayer from '@/components/SongPlayer.vue'
|
||||
import SongRequestOBS from '@/views/obs/SongRequestOBS.vue'
|
||||
import LiveRequestOBS from '@/views/obs/LiveRequestOBS.vue'
|
||||
import { CloudAdd20Filled, Play24Filled } from '@vicons/fluent'
|
||||
import { useWindowSize } from '@vueuse/core'
|
||||
import { throttle } from 'lodash'
|
||||
@@ -143,7 +143,7 @@ function loadMore() {
|
||||
clearable
|
||||
/>
|
||||
<NDivider />
|
||||
<SongRequestOBS
|
||||
<LiveRequestOBS
|
||||
v-if="userInfo?.extra?.enableFunctions.includes(FunctionTypes.SongRequest)"
|
||||
:id="userInfo?.id"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user