mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
feat: 添加弹幕投票相关功能, 修复礼物兑换外部链接bug
- 在api-models.ts中定义弹幕投票相关类型 - 在constants.ts中添加VOTE_API_URL常量 - 在路由中添加弹幕投票管理和OBS视图 - 更新组件以支持弹幕投票功能
This commit is contained in:
@@ -329,6 +329,16 @@ const menuOptions = computed(() => {
|
||||
icon: renderIcon(TabletSpeaker24Filled),
|
||||
disabled: !isBiliVerified.value,
|
||||
},
|
||||
/*{
|
||||
label: () => !isBiliVerified.value ? '弹幕投票' : h(
|
||||
RouterLink,
|
||||
{ to: { name: 'manage-danmakuVote' } },
|
||||
{ default: () => '弹幕投票' },
|
||||
),
|
||||
key: 'manage-danmakuVote',
|
||||
icon: renderIcon(Chat24Filled),
|
||||
disabled: !isBiliVerified.value,
|
||||
},*/
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user