merge: item.name=== 'style'

This commit is contained in:
荣彬 2020-08-03 14:40:03 +08:00
parent 34825f8a65
commit a86e503386

View File

@ -136,7 +136,7 @@ export default function(metadata: TransformedComponentMetadata): TransformedComp
// advanceGroup = item.items || [];
// propsGroup.splice(l, 1);
// }
if (item.name === '__style__' || item.name === 'containerStyle' || item.name === 'pageStyle') {
if (item.name === '__style__' || item.name === 'style' || item.name === 'containerStyle' || item.name === 'pageStyle') {
propsGroup.splice(l, 1);
stylesGroup.push(item);
if (item.extraProps?.defaultCollapsed && item.name !== 'containerStyle') {