From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +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