erda-ui
erda-ui copied to clipboard
[BUG]-在编辑pipeline.yml或.erda目录下的yml文件出错
Your issue may already be reported! Please search on the issue tracker before creating one.
Expected Behavior
在打开erda后端项目pipeline.yml文件时,后端接口可正常返回信息,前端报错: error: TypeError: can't access property "x", t is undefined
Current Behavior
在打开erda后端项目pipeline.yml文件时,后端接口可正常返回信息,前端报错: error: TypeError: can't access property "x", t is undefined
Possible Solution
Steps to Reproduce (for bugs)
- 兼容普通的yml文件,若不能图形化流水线,退而打开文件进行编辑
- 前端校验格式或给出相应的模板
Context
Your Environment
- Version used: commit: a8473280316c80c6be7db71d46e1bcfda987ea7c
- Npm version: node v14.21.3, npm: 6.14.18
- Browser Name and version: firefox 143.0.1
- Operating System and version (desktop or mobile): ubuntu 24.04
- Link to your project: