refactor: avoid directly importing all methods from ~/utils

This commit is contained in:
Hakadao
2023-04-13 02:02:06 +08:00
parent b1ccf3e6fc
commit 495c9b460a
18 changed files with 28 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { removeHttpFromUrl } from '~/utils'
import { removeHttpFromUrl } from '~/utils/main'
defineProps<{
url: string

View File

@@ -3,7 +3,7 @@ import type { Ref } from 'vue'
import { useI18n } from 'vue-i18n'
import browser from 'webextension-polyfill'
import type { AnimeTimeTableItem } from '../types'
import { removeHttpFromUrl } from '~/utils'
import { removeHttpFromUrl } from '~/utils/main'
const { t } = useI18n()