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 302 forks source link

🐛 [Bug]:1. 数据源接口请求成功,控制台报错,请求结果里不展示请求结果 2.页面表格绑定数据源,不展示数据 #845

Open bailihao123 opened 1 month ago

bailihao123 commented 1 month ago

Environment

windows Google浏览器

Version

18.19.0

Version

最新的代码

Link to minimal reproduction

329ddbae06b484db7cca590247d9574 d62e1232ff8ad3b38b164b5cd8d38fa

Step to reproduce

按照操作文档操作
1.数据源接口发送请求后接口请求成功,控制台报错,请求结果窗口没有展示请求结果 2.新建一个空白表格页面,collection使用数据源,表格不渲染数据

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]: 1. The data source interface request is successful, the console reports an error, and the request result is not displayed in the request result. 2. The page table is bound to the data source, and the data is not displayed.

chilingling commented 1 month ago
  1. 数据源接口请求成功,控制台报错的问题。按照您所说的操作步骤,并未复现。

操作步骤: a. 填写请求接口:https://jsonplaceholder.typicode.com/todos/1,请求方式为 GET b. 填写请求参数为 {} c. 在请求结果输入框中,可以看到请求结果(位于请求参数下方)。控制台不报错

image

  1. 请求结果里不展示请求结果

当前只复现了一种场景,并已经提交PR: #847 ,麻烦确认是否与您所遇到的场景一致。如果还有额外的场景导致无法填充请求结果,请继续反馈。

  1. 页面表格绑定数据源,不展示数据

当前的画布以及页面预览,使用的都是 mock 数据,并未请求真正的接口进行展示数据。 如果需要连接真正的数据,可以使用出码功能。或者直接基于我们的版本进行改造。

Issues-translate-bot commented 1 month ago

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


  1. The data source interface request is successful but the console reports an error. Following the steps you mentioned, it didn't happen again.

Operation steps: a. Fill in the request interface: https://jsonplaceholder.typicode.com/todos/1, and the request method is GET b. Fill in the request parameters as {} c. In the request result input box, you can see the request result (located below the request parameters). The console does not report an error

image

  1. The request results are not displayed in the request results.

Currently, only one scenario has been reproduced and PR has been submitted: #847. Please confirm whether it is consistent with the scenario you encountered. If there are additional scenarios that prevent the request results from being populated, please continue to report back.

  1. The page table is bound to the data source and does not display data.

The current canvas and page preview use mock data and do not request a real interface to display data. If you need to connect real data, you can use the decoding function. Or modify it directly based on our version.

IKEYCY commented 2 weeks ago

区块调用了接口,该区块无法单独导出使用

Issues-translate-bot commented 2 weeks ago

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


The block calls the interface, and the block cannot be exported and used separately.