mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
chore: upgrade eslint
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { useToggle } from '@vueuse/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import browser from 'webextension-polyfill'
|
||||
import type { Ref } from '@vue/runtime-dom'
|
||||
import type { Ref } from 'vue'
|
||||
|
||||
import Home from './Home/Home.vue'
|
||||
import Search from './Search/Search.vue'
|
||||
|
||||
@@ -11,7 +11,7 @@ const { t } = useI18n()
|
||||
|
||||
const favoriteCategories = reactive<CategoryItem[]>([])
|
||||
const favoriteResources = reactive<FavoriteItem[]>([])
|
||||
const categoryOptions = reactive<Array<{ value: any; label: string }>>([])
|
||||
const categoryOptions = reactive<Array<{ value: any, label: string }>>([])
|
||||
|
||||
const selectedCategory = ref<FavoriteCategory>()
|
||||
const activatedCategoryCover = ref<string>('')
|
||||
@@ -117,7 +117,7 @@ async function getFavoriteResources(
|
||||
|
||||
if (
|
||||
res.data.medias === null
|
||||
|| (res.data.medias.length < 20 && favoriteResources.length > 0)
|
||||
|| (res.data.medias.length < 20 && favoriteResources.length > 0)
|
||||
)
|
||||
noMoreContent.value = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user