opentiny / tiny-engine

TinyEngine is a low-code engine based on which you can build or develop low-code platforms in different domains/TinyEngine是一个低代码引擎,基于这个引擎可以构建或者开发出不同领域的低代码平台
https://opentiny.design/tiny-engine
MIT License
1.96k stars 303 forks source link

🐛 [Bug]: 物料中心无法添加发布的区块,点击保存接口会传两个区块过去,我只选择了一个,其中第一个的版本号是空的,所以导致接口报错 #860

Open wanglinyan199500 opened 1 month ago

wanglinyan199500 commented 1 month ago

Environment

edge

Version

v18.17.1

Version

最新

Link to minimal reproduction

https://github.com/opentiny/tiny-engine

Step to reproduce

Step to reproduce

image 正常发布区块,然后去物料中心添加区块,明明只添加了一个,接口入参传了两个,其中第一个的版本是空的,导致接口block-groups/update报错

What is expected

No response

What is actually happening

No response

What is your project name

tiny-engine

Any additional comments (optional)

No response

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: The material center cannot add published blocks. Clicking the save interface will transfer two blocks. I only selected one, and the version number of the first one is empty, so Causes the interface to report an error

lu-yg commented 1 month ago

这个报错的区块本身就是mock的数据,没有在npm上发布,建议删除这个区块,使用自己发布的区块,如果出现无法添加区块的情况,需要自己创建分组,在分组下添加区块使用

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


The error block itself is mock data and has not been published on npm. It is recommended to delete this block and use the block published by yourself. If you cannot add a block, you need to create a group yourself and add the block under the group. use