style: 将 Unicode 转义序列替换为可读的中文字符

This commit is contained in:
2026-03-02 06:48:32 +08:00
parent 70344bcd98
commit 08e5abe165
6 changed files with 14 additions and 14 deletions

View File

@@ -58,10 +58,10 @@ export function useWebSocket() {
if (msg.text) store.addHistory(msg.text);
break;
case "pasted":
store.showToast("\u2705 \u5df2\u7c98\u8d34");
store.showToast("✅ 已粘贴");
break;
case "error":
store.showToast(`\u274c ${msg.message || "\u9519\u8bef"}`);
store.showToast(` ${msg.message || "错误"}`);
break;
}
} catch {