Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG 反馈:配置ID没有强验证,导致无法删除。 #69

Closed
al0ne opened this issue Apr 30, 2024 · 2 comments
Closed

BUG 反馈:配置ID没有强验证,导致无法删除。 #69

al0ne opened this issue Apr 30, 2024 · 2 comments

Comments

@al0ne
Copy link

al0ne commented Apr 30, 2024

新建配置时,配置ID忘了填写只填写了内容,导致创建了一个配置ID为空的配置项
image
创建成功后就无法删除,并且无法改名,改命会重新复制一份变成新建了,老的文档还存在。
image
接口响应

invalid dataId : 

现在期望做到以下能力

  • 配置添加时,强制验证配置id,不然不能添加,现在只有前端提示,点击按钮依然能添加
  • 配置ID为空时,删除不报错。
@heqingpan
Copy link
Collaborator

问题已收到,计划在下个版本修复。

heqingpan added a commit that referenced this issue May 5, 2024
1) 新增配置由后端增加参数限制校验
2) 删除配置由前端切换成v2接口(原来删除还是使用旧接口)
3) 前端v2接口操作增加res.data.success的判断
#69
@heqingpan
Copy link
Collaborator

问题已在新版修复,对应的版本号为:v0.5.7 。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants