feat:修改类型结构
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import {Article, ArticleWord, getDefaultArticleWord, Sentence} from "@/types/types.ts";
|
||||
import {Article, ArticleWord, Sentence} from "@/types/types.ts";
|
||||
import {cloneDeep} from "@/utils";
|
||||
import nlp from "compromise/one";
|
||||
import {usePlayWordAudio} from "@/hooks/sound.ts";
|
||||
import {getSentenceAllText, getSentenceAllTranslateText} from "@/hooks/translate.ts";
|
||||
import {getDefaultArticleWord} from "@/types/func.ts";
|
||||
|
||||
interface KeyboardMap {
|
||||
Period: string,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import {Article, getDefaultArticle, Word} from "@/types/types.ts";
|
||||
import {Article, Word} from "@/types/types.ts";
|
||||
import {useBaseStore} from "@/stores/base.ts";
|
||||
import {nanoid} from "nanoid";
|
||||
import {getDefaultArticle} from "@/types/func.ts";
|
||||
|
||||
|
||||
export function useWordOptions() {
|
||||
|
||||
Reference in New Issue
Block a user