alibaba / alibaba/lowcode-engine

综合场景的demo中,高级对话框和高级表单联用会报错

Open
#2,321 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

在demo的综合场景,即demo-general中,使用高级对话框组件,在对话框中使用高级表单组件,预览会报错“NextP component is not found in components list!”

----

详细步骤:
1.打开[demo-general](https://lowcode-engine.cn/demo/demo-general/index.html)
2.拖入组件“高级对话框”
3.在上一步的对话框组件中再拖入组件“高级表单”
4.点击预览
5.按F12打开控制台,会显示报错“NextP component is not found in components list!”

## **Expected behavior (required)** / **预期行为(必填,非常重要)**
A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为
我们有个需求需要使用这两个组件,但是出码之后,在本地运行的时候,由于报错“NextP component is not found in components list!”,导致项目跑不起来
---

## **Screenshots (optional)** / **bug 截图(可选)**
Sceenshots for further information. (If applicable.) / 一些有用的截图将会帮助我们更好的明确以及定位问题
用到的高级对话框组件:
![d8217dc71de8a0d1a98c3c79ad4edc1](https://github.com/alibaba/lowcode-engine/assets/75791730/d252a434-cc86-4b04-ac48-dc021bda6184)

用到的高级表单组件:
![688c96c49d8d676172894244abfdd2d](https://github.com/alibaba/lowcode-engine/assets/75791730/14d9bcff-340e-47ab-8ee7-3cc0533c0243)
点击预览后的报错:
![338f5742da393fe5d80471115d1da23](https://github.com/alibaba/lowcode-engine/assets/75791730/a97914e0-5a7c-475d-81c1-e250d185402f)

---

## **Environments (please complete the following information) (required):** / **请提供如下信息(必填)**
- 低代码平台直接使用的https://lowcode-engine.cn/index页面中-demo示例-综合场景
- 浏览器:edge

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the demo-general page using Edge: place 高级对话框 and then 高级表单 inside it, open preview, and inspect the console error. Start by tracing how these two components are registered for preview and generated projects. Done means the combined scenario previews and runs locally without “NextP component is not found in components list!”.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
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.