mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
22 lines
595 B
TypeScript
22 lines
595 B
TypeScript
import { defineComponentMetadata } from '@/components/define'
|
|
import { getUID } from '@/core/utils'
|
|
import { liveUrls } from '@/core/utils/urls'
|
|
|
|
export const component = defineComponentMetadata({
|
|
name: 'badgeKeepalive',
|
|
displayName: '一键点亮直播间粉丝勋章',
|
|
entry: none,
|
|
reload: none,
|
|
unload: none,
|
|
author: {
|
|
name: 'magicFeirl',
|
|
link: 'https://github.com/magicFeirl',
|
|
},
|
|
tags: [componentsTags.live],
|
|
widget: {
|
|
component: () => import('./BadgeKeepalive.vue').then(m => m.default),
|
|
condition: () => Boolean(getUID()),
|
|
},
|
|
urlInclude: liveUrls,
|
|
})
|