mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
style: fix code(last month) to pass ESlint check
This commit is contained in:
parent
52bfb7320a
commit
c7ffd51365
@ -50,7 +50,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { FeedsCard, FeedsCardType, feedsCardTypes, forEachFeedsCard, RepostFeedsCard } from '@/components/feeds/api'
|
import {
|
||||||
|
FeedsCard,
|
||||||
|
FeedsCardType,
|
||||||
|
feedsCardTypes,
|
||||||
|
forEachFeedsCard,
|
||||||
|
RepostFeedsCard,
|
||||||
|
} from '@/components/feeds/api'
|
||||||
import { getComponentSettings } from '@/core/settings'
|
import { getComponentSettings } from '@/core/settings'
|
||||||
import { select } from '@/core/spin-query'
|
import { select } from '@/core/spin-query'
|
||||||
import { attributes } from '@/core/observer'
|
import { attributes } from '@/core/observer'
|
||||||
|
|||||||
@ -21,7 +21,9 @@ export const component: ComponentMetadata = {
|
|||||||
const { forEachFeedsCard } = await import('@/components/feeds/api')
|
const { forEachFeedsCard } = await import('@/components/feeds/api')
|
||||||
forEachFeedsCard({
|
forEachFeedsCard({
|
||||||
added: async card => {
|
added: async card => {
|
||||||
const foldButton = await select(() => dq(card.element, '.fold-hoverable, .bili-dyn-item-fold') as HTMLElement)
|
const foldButton = await select(
|
||||||
|
() => dq(card.element, '.fold-hoverable, .bili-dyn-item-fold') as HTMLElement,
|
||||||
|
)
|
||||||
foldButton?.click()
|
foldButton?.click()
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export default Vue.extend({
|
|||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "common";
|
@import 'common';
|
||||||
|
|
||||||
.bangumi-card {
|
.bangumi-card {
|
||||||
--cover-width: 94px;
|
--cover-width: 94px;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user