唯一标识符

5 阅读1分钟
const uniqueId = crypto.randomUUID();

出来的结果是这种格式:3a6c4b2a-4c26-4d0f-a4b7-3b1a2b3c4d5e