feat:修改类型结构
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {Article, ArticleWord, getDefaultArticleWord, Sentence} from "@/types.ts";
|
||||
import {Article, ArticleWord, getDefaultArticleWord, Sentence} from "@/types/types.ts";
|
||||
import {cloneDeep} from "@/utils";
|
||||
import nlp from "compromise/one";
|
||||
import {usePlayWordAudio} from "@/hooks/sound.ts";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Article, getDefaultArticle, Word} from "@/types.ts";
|
||||
import {Article, getDefaultArticle, Word} from "@/types/types.ts";
|
||||
import {useBaseStore} from "@/stores/base.ts";
|
||||
import {nanoid} from "nanoid";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {onMounted, watch, watchEffect} from "vue"
|
||||
import {useSettingStore} from "@/stores/setting.ts";
|
||||
import {PronunciationApi} from "@/types.ts";
|
||||
import {PronunciationApi} from "@/types/types.ts";
|
||||
import beep from "@/assets/sound/beep.wav";
|
||||
import correct from "@/assets/sound/correct.wav";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Article, Sentence, TranslateEngine} from "@/types.ts";
|
||||
import {Article, Sentence, TranslateEngine} from "@/types/types.ts";
|
||||
import Baidu from "@opentranslate/baidu";
|
||||
import {Translator} from "@opentranslate/translator/src/translator.ts";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user