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

删除没有关联模块的业务线后无法新建/修改接口 #6

Open
1an9k3 opened this issue Apr 15, 2020 · 0 comments
Open

删除没有关联模块的业务线后无法新建/修改接口 #6

1an9k3 opened this issue Apr 15, 2020 · 0 comments

Comments

@1an9k3
Copy link

1an9k3 commented Apr 15, 2020

复现步骤:
1.在后台设置业务线A关联模块a,并添加用例
2.在后台解除关联(A,a),并添加关联(B,a),保存退出
3.打开已有接口详情页面发现编辑后无法保存
原因排查:
浏览器console中出现如下报错:
image
提示bmDict[blId]为空,没有length这一属性
通过进一步排查发现:
bmDict中不含被删除的业务线信息,但blId仍然会取到被删除的业务线
image
修改建议:
1.业务线做成真删除

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

1 participant