From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/datasets/create/step-two/unescape.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/components/datasets/create/step-two/unescape.ts b/app/components/datasets/create/step-two/unescape.ts
index fae3e96..5c0f9e4 100644
--- a/app/components/datasets/create/step-two/unescape.ts
+++ b/app/components/datasets/create/step-two/unescape.ts
@@ -31,8 +31,8 @@
'\\': '\\',
}
-const fromHex = (str: string) => String.fromCodePoint(Number.parseInt(str, 16))
-const fromOct = (str: string) => String.fromCodePoint(Number.parseInt(str, 8))
+const fromHex = (str: string) => String.fromCodePoint(parseInt(str, 16))
+const fromOct = (str: string) => String.fromCodePoint(parseInt(str, 8))
const unescape = (str: string) => {
return str.replace(jsEscapeRegex, (_, __, varHex, longHex, shortHex, octal, specialCharacter, python) => {
--
Gitblit v1.8.0