opentiny / opentiny/tiny-engine

🐛 [Bug]: 这开源社区还活着么?有个群居然也没个响应?Preview模式怎么就直接返回数据源的result了?

Open
#1,505 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
2.8k
Forks
476
Avg merge
17h 35m
Merged PRs (30d)
1

Description

Environment

现代

Version

2.7.0

Version

lastest

Link to minimal reproduction

Preview模式下,为什么load直接是返回数据源配置的data,而不是跟其他那样调用load函数,返回api的数据?

Step to reproduce

添加Collection,添加表格,添加数据源,使用api,不是静态数据

What is expected

应该调用api返回数据,填充result的data

What is actually happening

No response

What is your project name

demo

Any additional comments (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing Preview mode with a Collection, table, and non-static API data source. Trace the Preview loading path to compare it with the normal load behavior. Done means the configured API is called and its response populates result.data instead of returning the data-source configuration directly.

Written by the indexing model from the issue text.

Assessment

Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.