diff --git a/core/core-frontend/src/custom-component/common/ComponentConfig.ts b/core/core-frontend/src/custom-component/common/ComponentConfig.ts index 36f712596b..ab15c2c185 100644 --- a/core/core-frontend/src/custom-component/common/ComponentConfig.ts +++ b/core/core-frontend/src/custom-component/common/ComponentConfig.ts @@ -70,18 +70,6 @@ export const CANVAS_MATERIAL = [ type: 'graphical', title: '矩形', icon: 'graphical-rect' - }, - { - value: 'triangle', - type: 'graphical', - title: '三角形', - icon: 'graphical-triangle' - }, - { - value: 'circular', - type: 'graphical', - title: '圆形', - icon: 'graphical-circular' } ] }, diff --git a/core/core-frontend/src/custom-component/component-list.ts b/core/core-frontend/src/custom-component/component-list.ts index f0e688753a..234f4c2305 100644 --- a/core/core-frontend/src/custom-component/component-list.ts +++ b/core/core-frontend/src/custom-component/component-list.ts @@ -195,10 +195,10 @@ const list = [ sizeX: 15, sizeY: 15, style: { - width: 300, - height: 200, - color: '#000000', - board: 1 + borderColor: '#000', + borderWidth: 1, + backgroundColor: '', + borderStyle: 'solid' } }, { diff --git a/core/core-frontend/src/custom-component/de-graphical/Attr.vue b/core/core-frontend/src/custom-component/de-graphical/Attr.vue index ff1c824d1c..8205da1dca 100644 --- a/core/core-frontend/src/custom-component/de-graphical/Attr.vue +++ b/core/core-frontend/src/custom-component/de-graphical/Attr.vue @@ -95,67 +95,12 @@ onBeforeUnmount(() => { diff --git a/core/core-frontend/src/custom-component/de-graphical/Component.vue b/core/core-frontend/src/custom-component/de-graphical/Component.vue index 956c32c325..2b998e8e91 100644 --- a/core/core-frontend/src/custom-component/de-graphical/Component.vue +++ b/core/core-frontend/src/custom-component/de-graphical/Component.vue @@ -1,15 +1,5 @@