GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lowcode-engine/docs/docs/faq/faq022.md at main · EsonSu2000/lowcode-engine

Expand file tree

/

faq022.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
18 lines (14 loc) · 1019 Bytes
/

faq022.md

Copy path

File metadata and controls

18 lines (14 loc) · 1019 Bytes
Raw
Copy raw file
Download raw file
Edit and raw actions
title 节点无法拖拽到 Page 下
sidebar_position 22
tags
FAQ

查看 Page 节点的 childWhitelist 配置,如果 Page 配置了 childWhitelist,且当前节点不在白名单下,是无法拖拽的。

AliLowCodeEngine.material.getComponentMeta('Page').getMetadata().configure.component.nestingRule.childWhitelist

比如在 demo 中 Page 组件的 childWhitelist 为:['NextPage', 'ProDialog', 'Dialog', 'Drawer'],则只有这些组件可以拖拽到 Page 的 children 下,其他组件均不可以。

说明:1.0.15 之前 Page 组件的 childWhitelist 限制是失效的,在 1.0.16 版本进行了 bug 修复。

解决办法

方法 1:直接修改 Page 组件的 childWhitelist,比如删除。

方法 2:通过 material.registerMetadataTransducer 修改 Page 组件的 childWhitelist(适用于 Page 组件是其他人维护的)

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.