fix: 修复前端界面边界条件问题 #1

Merged
xiongyuxing merged 1 commits from wangziqi/tiku-backend.net:fix/frontend-boundary-conditions into main 2026-08-01 00:59:40 +00:00
Collaborator

修复前端界面边界条件问题

  • http.ts / token-store.ts: token 与 HTTP 层边界条件处理
  • BusinessTable.tsx / ResponseView.tsx: 表格与响应视图边界修复
  • QuestionBankPage.tsx: 题库页边界条件修复

对应 commit: 589ecd0

修复前端界面边界条件问题 - http.ts / token-store.ts: token 与 HTTP 层边界条件处理 - BusinessTable.tsx / ResponseView.tsx: 表格与响应视图边界修复 - QuestionBankPage.tsx: 题库页边界条件修复 对应 commit: 589ecd0
wangziqi added 1 commit 2026-07-31 07:07:56 +00:00
- rowKey 使用 ?? 替代 ||,避免合法值 0 被当作 falsy
- parseJson 增加非字符串类型防御检查
- toTree 增加递归深度限制防止循环引用栈溢出
- saveBatchNodes 增加空名称数组检查
- localStorage.setItem 捕获 QuotaExceededError
- 路径参数缺失时显式抛出错误而非静默替换
xiongyuxing merged commit f776056834 into main 2026-08-01 00:59:40 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: xiongyuxing/tiku-backend.net#1
No description provided.