mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-21 16:48:18 +00:00
refactor: 高级属性放到「属性」面板中
This commit is contained in:
parent
f5d8c9c002
commit
655192135f
@ -132,10 +132,11 @@ export default function(metadata: TransformedComponentMetadata): TransformedComp
|
|||||||
let l = propsGroup.length;
|
let l = propsGroup.length;
|
||||||
while (l-- > 0) {
|
while (l-- > 0) {
|
||||||
const item = propsGroup[l];
|
const item = propsGroup[l];
|
||||||
if (item.type === 'group' && (item.title === '高级' || item.title?.label === '高级')) {
|
// if (item.type === 'group' && (item.title === '高级' || item.title?.label === '高级')) {
|
||||||
advanceGroup = item.items || [];
|
// advanceGroup = item.items || [];
|
||||||
propsGroup.splice(l, 1);
|
// propsGroup.splice(l, 1);
|
||||||
} else if (item.name === '__style__' || item.name === 'containerStyle' || item.name === 'pageStyle') {
|
// }
|
||||||
|
if (item.name === '__style__' || item.name === 'containerStyle' || item.name === 'pageStyle') {
|
||||||
propsGroup.splice(l, 1);
|
propsGroup.splice(l, 1);
|
||||||
stylesGroup.push(item);
|
stylesGroup.push(item);
|
||||||
if (item.extraProps?.defaultCollapsed && item.name !== 'containerStyle') {
|
if (item.extraProps?.defaultCollapsed && item.name !== 'containerStyle') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user