style: 将 Unicode 转义序列替换为可读的中文字符
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user