fix:replace new host

This commit is contained in:
Zyronon
2025-11-17 17:10:44 +08:00
committed by GitHub
parent c9dc7a8225
commit fcf714a41e
11 changed files with 29 additions and 25 deletions

View File

@@ -14,6 +14,7 @@ import Checkbox from "@/components/base/checkbox/Checkbox.vue";
import DeleteIcon from "@/components/icon/DeleteIcon.vue";
import Dialog from "@/components/dialog/Dialog.vue";
import BaseInput from "@/components/base/BaseInput.vue";
import {Host} from "@/config/env.ts";
let list = defineModel('list')
@@ -283,7 +284,7 @@ defineRender(
<div>短语一行原文一行译文多个请换<span class="color-red"></span></div>
<div>同义词同根词词源请前往官方字典然后编辑其中某个单词参考其格式</div>
<div class="mt-6">
模板下载地址<a href="https://2study.top/libs/单词导入模板.xlsx">单词导入模板</a>
模板下载地址<a href={`https://${Host}/libs/单词导入模板.xlsx`}>单词导入模板</a>
</div>
<div class="mt-4">
<BaseButton

View File

@@ -1,5 +1,5 @@
export const GITHUB = 'https://github.com/zyronon/TypeWords'
export const Host = '2study.top'
export const Host = 'typewords.cc'
export const EMAIL = 'zyronon@163.com'
export const Origin = `https://${Host}`
export const APP_NAME = 'Type Words'

View File

@@ -300,6 +300,9 @@ function del() {
function showWord() {
if (settingStore.allowWordTip) {
if (settingStore.wordPracticeType === WordPracticeType.Dictation || settingStore.dictation) {
emit('wrong')
}
showFullWord = true
//系统设定的默认模式情况下,如果看了单词统计到错词里面去
switch (statStore.step) {
@@ -321,7 +324,7 @@ function hideWord() {
}
function play() {
if (settingStore.wordPracticeType === WordPracticeType.Dictation) {
if (settingStore.wordPracticeType === WordPracticeType.Dictation || settingStore.dictation) {
emit('wrong')
}
volumeIconRef?.play()