5sControl / 5sControl/5s-frontend

[4h] Error 404 in camera settings when double-clicking on the delete zone button

未关闭
#569 0 条评论 0 个 reaction 已指派 1 人 已被 @payne52 认领 在 GitHub 查看
bug
主要语言
TypeScript
星标
3
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

При двойном нажатии на кнопку удалить зону появляется ошибка

**Precondition:**
Открыта вкладка configuration и настройки камеры

Steps:

1. Перейти во вкладку Zones
2. Выбрать существующую зону
3. Double click на кнопку delete

Actual result:
При двойном нажатии на кнопку удалить ошибка 404

Expected Result:
При двойном нажатии на кнопку удалить зона удаляется

files:
https://github.com/user-attachments/assets/021f2ebd-63df-455a-ae5e-5ca242454ec2

贡献指南

打开贡献指南

调研方向

The issue is about a 404 error when double-clicking a delete zone button in camera settings. Look for the Zones component and the delete button handler, likely in a file related to camera configuration or zone management. Check if the handler is making an API call and if double-clicking triggers multiple requests. Verify the expected behavior by testing the delete functionality with a single click.

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。