save
This commit is contained in:
@@ -20,7 +20,7 @@ import * as XLSX from "xlsx";
|
||||
import {MessageBox} from "@/utils/MessageBox.tsx";
|
||||
import {syncMyDictList} from "@/hooks/dict.ts";
|
||||
import {useWindowClick} from "@/hooks/event.ts";
|
||||
import ArticleList4 from "@/components/list2/ArticleList4.vue";
|
||||
import ArticleList from "@/components/list/ArticleList.vue";
|
||||
|
||||
const store = useBaseStore()
|
||||
const settingStore = useSettingStore()
|
||||
@@ -309,7 +309,7 @@ defineExpose({getDictDetail, add, editDict})
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<ArticleList4
|
||||
<ArticleList
|
||||
ref="listRef"
|
||||
:isActive="false"
|
||||
v-if="runtimeStore.editDict.articles.length"
|
||||
@@ -332,7 +332,7 @@ defineExpose({getDictDetail, add, editDict})
|
||||
title="删除"
|
||||
icon="solar:trash-bin-minimalistic-linear"/>
|
||||
</template>
|
||||
</ArticleList4>
|
||||
</ArticleList>
|
||||
<Empty v-else/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -10,7 +10,7 @@ import BaseButton from "@/components/BaseButton.vue";
|
||||
import {useWindowClick} from "@/hooks/event.ts";
|
||||
import {reverse, shuffle} from "lodash-es";
|
||||
import {usePlayWordAudio} from "@/hooks/sound.ts";
|
||||
import WordList from '@/components/list2/WordList.vue'
|
||||
import WordList from '@/components/list/WordList.vue'
|
||||
|
||||
const props = defineProps<{
|
||||
title: string,
|
||||
|
||||
@@ -22,7 +22,7 @@ import EditDict from "@/pages/dict/components/EditDict.vue";
|
||||
import {syncMyDictList} from "@/hooks/dict.ts";
|
||||
import MiniDialog from "@/components/dialog/MiniDialog.vue";
|
||||
import {useWindowClick} from "@/hooks/event.ts";
|
||||
import BaseList from "@/components/list2/BaseList.vue";
|
||||
import BaseList from "@/components/list/BaseList.vue";
|
||||
|
||||
const emit = defineEmits<{
|
||||
back: []
|
||||
|
||||
@@ -18,8 +18,8 @@ import {emitter, EventKey} from "@/utils/eventBus.ts";
|
||||
import {useRouter} from "vue-router";
|
||||
import {useRuntimeStore} from "@/stores/runtime.ts";
|
||||
import {cloneDeep} from "lodash-es";
|
||||
import WordList from "@/components/list2/WordList.vue";
|
||||
import ArticleList4 from "@/components/list2/ArticleList4.vue";
|
||||
import WordList from "@/components/list/WordList.vue";
|
||||
import ArticleList from "@/components/list/ArticleList.vue";
|
||||
|
||||
const router = useRouter()
|
||||
const store = useBaseStore()
|
||||
@@ -141,7 +141,7 @@ function addSimple() {
|
||||
<Empty v-else/>
|
||||
</template>
|
||||
<template v-else>
|
||||
<ArticleList4
|
||||
<ArticleList
|
||||
v-if="store.collect.articles.length"
|
||||
v-model:list="store.collect.articles">
|
||||
<template v-slot:suffix="{item,index}">
|
||||
@@ -151,7 +151,7 @@ function addSimple() {
|
||||
title="移除"
|
||||
icon="solar:trash-bin-minimalistic-linear"/>
|
||||
</template>
|
||||
</ArticleList4>
|
||||
</ArticleList>
|
||||
<Empty v-else/>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +19,7 @@ import {useRuntimeStore} from "@/stores/runtime.ts";
|
||||
import {useSettingStore} from "@/stores/setting.ts";
|
||||
import BaseIcon from "@/components/BaseIcon.vue";
|
||||
import {useArticleOptions} from "@/hooks/dict.ts";
|
||||
import ArticleList4 from "@/components/list2/ArticleList4.vue";
|
||||
import ArticleList from "@/components/list/ArticleList.vue";
|
||||
|
||||
const store = useBaseStore()
|
||||
const practiceStore = usePracticeStore()
|
||||
@@ -278,7 +278,7 @@ const {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ArticleList4
|
||||
<ArticleList
|
||||
:isActive="active"
|
||||
:static="false"
|
||||
:show-translate="settingStore.translate"
|
||||
@@ -297,7 +297,7 @@ const {
|
||||
@click="toggleArticleCollect(item)"
|
||||
title="取消收藏" icon="ph:star-fill"/>
|
||||
</template>
|
||||
</ArticleList4>
|
||||
</ArticleList>
|
||||
</div>
|
||||
</template>
|
||||
</Panel>
|
||||
|
||||
@@ -17,7 +17,7 @@ import IconWrapper from "@/components/IconWrapper.vue";
|
||||
import {useRuntimeStore} from "@/stores/runtime.ts";
|
||||
import {useWordOptions} from "@/hooks/dict.ts";
|
||||
import BaseIcon from "@/components/BaseIcon.vue";
|
||||
import WordList from "@/components/list2/WordList.vue";
|
||||
import WordList from "@/components/list/WordList.vue";
|
||||
import Empty from "@/components/Empty.vue";
|
||||
|
||||
interface IProps {
|
||||
|
||||
Reference in New Issue
Block a user