fix:修复bug

This commit is contained in:
2026-01-22 10:52:58 +08:00
parent b0daa7b59b
commit 6a1dff4b94
46 changed files with 3779 additions and 2522 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
import { useI18n } from '@/utils/i18n.js'
const { t: $t } = useI18n()
const { t } = useI18n()
// 网页链接
const webUrl = ref('')
@@ -24,7 +24,7 @@
console.log('加载外部链接:', webUrl.value)
} else {
uni.showToast({
title: $t('common.invalidUrl') || '无效的链接',
title: t('common.invalidUrl') || '无效的链接',
icon: 'none',
duration: 2000
})
@@ -44,7 +44,7 @@
const handleError = (e) => {
console.error('网页加载错误:', e)
uni.showToast({
title: $t('common.loadFailed') || '加载失败',
title: t('common.loadFailed') || '加载失败',
icon: 'none'
})
}