fix: 更新中文提示信息格式以提升可读性

在多个组件中移除模板字符串,直接使用普通字符串格式化中文提示信息,增强了代码的可读性和一致性。
This commit is contained in:
2026-06-30 21:06:39 +08:00
parent d0825c5ec0
commit ece5c6135e
6 changed files with 13 additions and 8 deletions
@@ -22,7 +22,9 @@ vi.mock('../components/TextMode', () => ({
}));
vi.mock('../components/Base64ConverterSection', () => ({
default: ({ mode }: { mode: string }) => <div data-testid={`${mode}-mode`}>{mode}</div>,
default: ({ mode }: { mode: 'file' | 'image' }) => (
<div data-testid={`${mode}-mode`}>{mode.toUpperCase()} Mode</div>
),
}));
const waitForStorageInit = () =>