feat: 优化界面显示,对deck添加编辑功能

This commit is contained in:
2024-09-26 21:08:38 +08:00
parent 02a1752a13
commit 12f1084612
29 changed files with 801 additions and 165 deletions

5
src/utils/nanoid.ts Normal file
View File

@@ -0,0 +1,5 @@
import { customAlphabet, nanoid } from 'nanoid';
const number = '0123456789';
const alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
export const generateId = customAlphabet(number + alphabet, 6);