crypto.randomUUID 仅在 HTTPS 或 localhost 下存在,客户内网 以 http://<内网IP> 访问时该 API 为 undefined,而新建任务 对话框在页面挂载即调用,会直接 TypeError 导致整页白屏。 新增 newRequestKey 工具:优先 randomUUID,不可用时降级为 getRandomValues 拼 v4 格式(非安全上下文仍可用)。 Co-Authored-By: Claude Code <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| constants.ts | ||
| error.ts | ||
| format.ts | ||
| rating.ts | ||
| storage.ts | ||
| uuid.ts | ||
| validate.ts | ||