opentiny / opentiny/tiny-engine
🐛 [Bug]: TinyEngine面板中的数据源模块,点击添加数据源并没有生效,刷新也没有显示新增的数据源
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 2.8k
- Forks
- 476
- Avg merge
- 17h 35m
- Merged PRs (30d)
- 1
Description
Environment
谷歌浏览器,win11
Version
20.19.1
Version
opentiny/tiny-engine 源码,分支 develop 和 release/v2.5.x
Link to minimal reproduction
Step to reproduce
- 分别拉取 opentiny/tiny-engine 下的 develop分支代码和 relase/v2.5.x的仓库代码
- pnpm i 安装好依赖
- 启动 pnpm run dev 命令行,运行前端代码,目前没有开启java服务,使用默认的mockserver服务,浏览器显示设计器页面
- 点击面板左侧 数据源选项,点击新增数据源,如截图所示。按照官网点击保存之后,并刷新,没有显示出来新增的数据源
What is expected
希望能新增数据源。在tinyEngine官方文档中有对应步骤,但是在面板中没有显示
What is actually happening
实际上并没有显示新增的数据源。
我必须在mockserver中添加配置才会显示,且预览状态下,配置好的远程数据会报 load is undefined错误,只有静态数据在预览模式可以生效
What is your project name
tinyEngine 二开
Any additional comments (optional)
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the data source panel in the running designer and reproduce the save-and-refresh flow described in the issue on the develop and release/v2.5.x branches. Compare the panel behavior with the mockserver configuration and preview mode; done means newly added sources appear after refresh and remote data no longer reports “load is undefined”.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100