packages: [
{
title: 'MCBreadcrumb',
package: 'mc-breadcrumb',
version: '1.0.0',
urls: [
'https://unpkg.com/mc-breadcrumb@1.0.0/dist/MCBreadcrumb.js',
'https://unpkg.com/mc-breadcrumb@1.0.0/dist/MCBreadcrumb.css',
],
library: 'MCBreadcrumb',
},
],
components: [
{
componentName: 'MCBreadcrumb',
title: 'MCBreadcrumb',
docUrl: '',
screenshot: '',
npm: {
package: 'mc-breadcrumb',
version: '1.0.0',
exportName: 'MCBreadcrumb',
main: 'lib/index.js',
destructuring: false,
subName: '',
},
props: [
{
name: 'prefix',
propType: 'string',
description: '样式类名的品牌前缀',
defaultValue: 'next-',
},
{
name: 'title',
propType: 'string',
description: '标题',
defaultValue: 'next-',
},
{
name: 'rtl',
propType: 'bool',
},
{
name: 'children',
propType: {
type: 'instanceOf',
value: 'node',
},
description: '面包屑子节点,需传入 Breadcrumb.Item',
},
{
name: 'maxNode',
propType: {
type: 'oneOfType',
value: [
'number',
{
type: 'oneOf',
value: ['auto'],
},
],
},
description:
'面包屑最多显示个数,超出部分会被隐藏, 设置为 auto 会自动根据父元素的宽度适配。',
defaultValue: 100,
},
{
name: 'separator',
propType: {
type: 'instanceOf',
value: 'node',
},
description: '分隔符,可以是文本或 Icon',
},
{
name: 'component',
propType: {
type: 'oneOfType',
value: ['string', 'func'],
},
description: '设置标签类型',
defaultValue: 'nav',
},
{
name: 'className',
propType: 'any',
},
{
name: 'style',
propType: 'object',
},
],
configure: {
component: {
isContainer: true,
isModel: true,
rootSelector: 'div.MCBreadcrumb',
},
},
},
],
componentList: [
{
title: '常用',
icon: '',
children: [
{
componentName: 'MCBreadcrumb',
title: 'MC面包屑',
icon: '',
package: 'mc-breadcrumb',
library: 'MCBreadcrumb',
snippets: [
{
title: 'MC面包屑',
screenshot:
'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_breadcrumb.png',
schema: {
componentName: 'MCBreadcrumb',
props: {
title: '物料中心',
prefix: 'next-',
maxNode: 100,
},
},
},
],
},
],
},
],
});
Sceenshots for further information. (If applicable.) / 一些有用的截图将会帮助我们更好的明确以及定位问题
Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题
Describe the bug (required) / 详细描述 bug(必填)
loadIncrementalAssets的assets.json结构如下
To Reproduce (required) / 如何复现 bug?(必填,非常重要)
Steps to reproduce the behavior: / 详细复现步骤:
English version example:
中文版示例:
Expected behavior (required) / 预期行为(必填,非常重要)
组件库中能正常添加loadIncrementalAssets的组件
Screenshots (optional) / bug 截图(可选)
Sceenshots for further information. (If applicable.) / 一些有用的截图将会帮助我们更好的明确以及定位问题
AliLowCodeEngine.material.getAssets() 查看组件已经加进去了

AliLowCodeEngine.material.componentsMap 也已经加进去了

Environments (please complete the following information) (required): / 请提供如下信息(必填)
官网demo-basic-antd demo本地运行结果
Additional context (optional) / 更多额外信息(可选)
Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题