feat: perfect this article
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
import MiniModal from "@/components/MiniModal.vue";
|
||||
import {Icon} from "@iconify/vue";
|
||||
import IconWrapper from "@/components/IconWrapper.vue";
|
||||
import Tooltip from "@/components/Tooltip.vue";
|
||||
|
||||
@@ -11,6 +11,7 @@ export const useBaseStore = defineStore('base', {
|
||||
sort: Sort.normal,
|
||||
type: DictType.newDict,
|
||||
originWords: [],
|
||||
articles: [],
|
||||
words: [],
|
||||
chapterWordNumber: 15,
|
||||
chapterWords: [],
|
||||
@@ -24,6 +25,7 @@ export const useBaseStore = defineStore('base', {
|
||||
sort: Sort.normal,
|
||||
type: DictType.skipDict,
|
||||
originWords: [],
|
||||
articles: [],
|
||||
words: [],
|
||||
chapterWordNumber: 15,
|
||||
chapterWords: [],
|
||||
@@ -37,6 +39,7 @@ export const useBaseStore = defineStore('base', {
|
||||
sort: Sort.normal,
|
||||
type: DictType.wrongDict,
|
||||
originWords: [],
|
||||
articles: [],
|
||||
words: [],
|
||||
chapterWordNumber: 15,
|
||||
chapterWords: [],
|
||||
@@ -50,6 +53,7 @@ export const useBaseStore = defineStore('base', {
|
||||
sort: Sort.normal,
|
||||
type: DictType.innerDict,
|
||||
originWords: [],
|
||||
articles: [],
|
||||
words: [],
|
||||
chapterWordNumber: 15,
|
||||
chapterWords: [],
|
||||
|
||||
@@ -88,6 +88,8 @@ export enum DictType {
|
||||
wrongDict = 'wrongDict',
|
||||
innerDict = 'innerDict',
|
||||
customDict = 'customDict',
|
||||
innerArticle = 'innerArticle',
|
||||
customArticle = 'customArticle'
|
||||
}
|
||||
|
||||
export const DefaultArticleWord: ArticleWord = {
|
||||
@@ -133,7 +135,7 @@ export interface Dict {
|
||||
words: Word[],
|
||||
chapterWordNumber: number,//章节单词数量
|
||||
chapterWords: Word[][],
|
||||
// articles: Article[],
|
||||
articles: Article[],
|
||||
chapterIndex: number,
|
||||
chapterWordIndex: number,
|
||||
statistics: Statistics[],
|
||||
|
||||
Reference in New Issue
Block a user