fuck gitee
This commit is contained in:
@@ -38,7 +38,7 @@ watch(store.wrong.originWords, (n) => {
|
||||
store.wrong.chapterWords = [store.wrong.words]
|
||||
})
|
||||
|
||||
// useStartKeyboardEventListener()
|
||||
useStartKeyboardEventListener()
|
||||
|
||||
async function init() {
|
||||
console.time()
|
||||
|
||||
@@ -158,7 +158,7 @@ onUnmounted(() => {
|
||||
<PracticeWord ref="practiceRef" v-else/>
|
||||
<Footer/>
|
||||
</div>
|
||||
<AddWordDialog></AddWordDialog>
|
||||
<!-- <AddWordDialog></AddWordDialog>-->
|
||||
<DictModal :model-value="runtimeStore.showDictModal" @close="runtimeStore.showDictModal = false"/>
|
||||
<SettingModal v-if="runtimeStore.showSettingModal" @close="runtimeStore.showSettingModal = false"/>
|
||||
<Statistics/>
|
||||
|
||||
@@ -247,7 +247,8 @@ export const useBaseStore = defineStore('base', {
|
||||
r.json().then(v => {
|
||||
if (this.currentDict.translateLanguage === 'common') {
|
||||
const runtimeStore = useRuntimeStore()
|
||||
fetch('./translate/en2zh_CN.json').then(r2 => {
|
||||
// fetch('./translate/en2zh_CN.json').then(r2 => {
|
||||
fetch('http://sc.ttentau.top/en2zh_CN-min.json').then(r2 => {
|
||||
r2.json().then((list: Word[]) => {
|
||||
runtimeStore.translateWordList = list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user