mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-14 13:03:07 +00:00
docs: add faqs
This commit is contained in:
parent
9b95daba81
commit
de3443a9dc
18
docs/docs/faq/faq021.md
Normal file
18
docs/docs/faq/faq021.md
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
title: 提交 PR 时,明明签署过 CLA,仍被提示需要签署
|
||||
sidebar_position: 21
|
||||
tags: [FAQ]
|
||||
---
|
||||
## 问题原因
|
||||
|
||||
原因是:git commit 时,本地 git config 配置的 email 与 github 账号的 email 不一致,导致未被识别出来,检查方式
|
||||
|
||||
```bash
|
||||
git config user.email
|
||||
```
|
||||
|
||||
## 解决办法
|
||||
|
||||
如何配置,可参考 [is-it-possible-to-have-different-git-configuration-for-different-projects](https://stackoverflow.com/questions/8801729/is-it-possible-to-have-different-git-configuration-for-different-projects)
|
||||
|
||||
配置好正确的 email 之后,已提交的代码需要以新的配置重新提交才可生效。
|
||||
18
docs/docs/faq/faq022.md
Normal file
18
docs/docs/faq/faq022.md
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
title: 节点无法拖拽到 Page 下
|
||||
sidebar_position: 22
|
||||
tags: [FAQ]
|
||||
---
|
||||
查看 Page 节点的 childWhitelist 配置,如果 Page 配置了 childWhitelist,且当前节点不在白名单下,是无法拖拽的。
|
||||
```typescript
|
||||
AliLowCodeEngine.material.getComponentMeta('Page').getMetadata().configure.component.nestingRule.childWhitelist
|
||||
```
|
||||
|
||||
比如在 [demo](https://lowcode-engine.cn/demo/demo-general/index.html) 中 Page 组件的 childWhitelist 为:['NextPage', 'ProDialog', 'Dialog', 'Drawer'],则只有这些组件可以拖拽到 Page 的 children 下,其他组件均不可以。
|
||||
|
||||
说明:1.0.15 之前 Page 组件的 childWhitelist 限制是失效的,在 1.0.16 版本进行了 bug 修复。
|
||||
|
||||
### 解决办法
|
||||
**方法 1:直接修改 Page 组件的 childWhitelist,比如删除**。
|
||||
|
||||
**方法 2:通过 **[**material.registerMetadataTransducer**](/site/docs/api/material#registermetadatatransducer)** 修改 Page 组件的 childWhitelist(适用于 Page 组件是其他人维护的)**
|
||||
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: 官网文档协作流程
|
||||
title: 参与文档贡献
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
@ -10,7 +10,7 @@ sidebar_position: 3
|
||||
- 官方文档通过 github 管理文档源,官网文档与[主仓库 develop 分支](https://github.com/alibaba/lowcode-engine/tree/develop/docs)保持同步。
|
||||
- 点击每篇文档下发的 `编辑此页` 可直接定位到 github 中位置。
|
||||
- 欢迎 PR,文档 PR 也会作为贡献者贡献,会用于贡献度统计。
|
||||
- 文档同步到官方网站由官方人员进行操作,如有需要可以通过 issue 或 贡献者群与相关人员沟通。
|
||||
- **文档同步到官方网站由官方人员进行操作**,如有需要可以通过 issue 或 贡献者群与相关人员沟通。
|
||||
- 为了提供更好的阅读和使用体验,文档中的图片文件会定期转换成可信的 CDN 地址。
|
||||
|
||||
### PR 提交注意事项
|
||||
|
||||
@ -22,9 +22,10 @@ sidebar_position: 0
|
||||
3. 如果你修复了 bug 或者添加了代码,而这些内容需要测试,请添加测试!
|
||||
4. 确保通过测试套件(yarn test)。
|
||||
5. 请签订贡献者许可证协议(Contributor License Agreement)。
|
||||
> 如已签署 CLA 仍被提示需要签署,[解决办法](/site/docs/faq/faq021)
|
||||
|
||||
### 核心贡献者交流
|
||||
如果你想长期参与到项目维护中,我们提供了一个核心贡献者交流群。
|
||||
|
||||
1. 可以通过[填写问卷](https://survey.taobao.com/apps/zhiliao/4YEtu9gHF)的方式,参与到其中。
|
||||
2. 填写问卷后加微信号 `wxidvlalalalal` 说明一下
|
||||
2. 填写问卷后加微信号 `wxidvlalalalal` 说明一下。
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-engine-docs",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"description": "低代码引擎版本化文档",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user