From e1606b707eaa8e568f72dedc3024746aad7d5294 Mon Sep 17 00:00:00 2001 From: tone <3341154833@qq.com> Date: Sun, 18 May 2025 14:29:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0base62=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tone-page-web/lib/utils.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tone-page-web/lib/utils.ts b/tone-page-web/lib/utils.ts index bd0c391..facf50d 100644 --- a/tone-page-web/lib/utils.ts +++ b/tone-page-web/lib/utils.ts @@ -1,6 +1,9 @@ import { clsx, type ClassValue } from "clsx" import { twMerge } from "tailwind-merge" +import basex from "base-x" export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) } + +export const base62 = basex('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'); \ No newline at end of file