fix: 完善平台国际化覆盖

This commit is contained in:
Nixevol
2026-07-05 00:53:03 +08:00
parent 66d16a6524
commit 4d32a117e2
16 changed files with 295 additions and 111 deletions
+2 -2
View File
@@ -106,8 +106,8 @@ async function uploadOne(file: File) {
...list.value,
{ key: res.key, url: res.url, name: props.captionable ? '' : res.name, type },
]);
} catch (err) {
message.error((err as Error)?.message || 'upload failed');
} catch {
message.error(t('common.msg.uploadFailed'));
} finally {
uploading.value = uploading.value.filter((u) => u.id !== holder.id);
}