From 243a8e32e4ef2d9d9cd7d00089aa579c3aa33fe0 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 21 Aug 2025 13:44:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=B8=AD=E6=96=87=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ApplyView.vue | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/ApplyView.vue b/src/views/ApplyView.vue index c73e58d..ba72761 100644 --- a/src/views/ApplyView.vue +++ b/src/views/ApplyView.vue @@ -50,12 +50,12 @@
-

申请加入团队:

+

Apply to join team:

Team ID: {{ record.teamProfile?.id }}

{{ record.teamProfile?.country?.countryName }} ({{ record.teamProfile?.country?.countryCode }})

-

团队所有者:

+

Team owner:

@@ -73,7 +73,7 @@ class="cancel-btn" @click="handleCancelApply(record)" > - cancel + Cancel
@@ -133,7 +133,7 @@ const handleCancelApply = async (record) => { applyRecords.value = [] // 清空记录 await fetchApplyRecords() } else { - showError(response.message || '撤销失败,请重试') + showError(response.message || 'Cancellation failed, please try again') } } catch (error) { console.error('撤销申请失败:', error) @@ -142,19 +142,19 @@ const handleCancelApply = async (record) => { if (error.type === 'business') { switch (error.errorCode) { case 6404: // 假设的记录不存在错误码 - showError('申请记录不存在', '撤销失败') + showError('Application record not found', 'Cancellation failed') break case 6003: // 假设的已处理错误码 - showError('申请已被处理,无法撤销', '撤销失败') + showError('Application has been processed and cannot be canceled', 'Cancellation failed') break default: - showError(error.errorMsg || error.message || '撤销失败,请重试', '撤销失败') + showError(error.errorMsg || error.message || 'Cancellation failed, please try again', 'Cancellation failed') } } else { - showError('网络错误,请检查网络后重试', '撤销失败') + showError('Network error, please check your connection and try again', 'Cancellation failed') } } else { - showError('撤销失败,请重试') + showError('Cancellation failed, please try again') } } } @@ -194,11 +194,11 @@ const submitApplication = async () => { if (error.status === 406) { showWarning(error.errorMsg) } else { - showError(error.message || '未知错误,请重试') + showError(error.message || 'Unknown error, please try again') } } else { // 非 ApiError 类型的错误 - showError('未知错误,请重试') + showError('Unknown error, please try again') } } } finally {