From 30cb55c8bc2182b525d71d9939c32a9a4e1e92b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cchenhuachun=E2=80=9D?= <“samchen08@163.com”> Date: Wed, 9 Apr 2025 09:30:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E5=88=A0=E9=99=A4el?= =?UTF-8?q?=E7=89=A9=E6=96=99=E7=9A=84=20row=20col=20=E9=A2=84=E8=AE=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/materials/src/element/layout.ts | 47 +----------------------- 1 file changed, 2 insertions(+), 45 deletions(-) diff --git a/packages/materials/src/element/layout.ts b/packages/materials/src/element/layout.ts index f77332166..baf6a5a8e 100644 --- a/packages/materials/src/element/layout.ts +++ b/packages/materials/src/element/layout.ts @@ -46,37 +46,7 @@ const components: MaterialDescription[] = [ snippet: { props: { gutter: 10 - }, - children: [ - { - name: 'ElCol', - - props: { - span: 6 - }, - children: [ - { - name: 'component', - props: { - is: 'div', - style: { - height: '50px', - background: '#ecf5ff' - } - } - } - ], - directives: [ - { - name: 'vFor', - value: { - type: 'JSExpression', - value: '4' - } - } - ] - } - ] + } } }, { @@ -143,20 +113,7 @@ const components: MaterialDescription[] = [ snippet: { props: { span: 6 - }, - children: [ - { - name: 'component', - props: { - is: 'div', - style: { - height: '50px', - background: '#ecf5ff' - } - }, - children: 'Col' - } - ] + } } } ];