题描述:报警内容如下
[Component] the type of property "isCustom" is illegal (when preparing "xxx路径/components/xxx页面").
问题原因和解决办法:
1、打开组件的位置,我们可以看到目标代码;这里的type是数组形式。支持了多种属性类型,所有导致时候出现了非法警告
2、解决办法:将properties属性的types定义段改为optionalTypes
题描述:报警内容如下
[Component] the type of property "isCustom" is illegal (when preparing "xxx路径/components/xxx页面").
问题原因和解决办法:
1、打开组件的位置,我们可以看到目标代码;这里的type是数组形式。支持了多种属性类型,所有导致时候出现了非法警告
2、解决办法:将properties属性的types定义段改为optionalTypes