From 3240ca7760d645001a89f70659946cb60e59545d Mon Sep 17 00:00:00 2001 From: ival <610568032@qq.com> Date: Wed, 7 Apr 2021 10:57:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/iscs_new/core/form/elementConst.js | 39 +++++++++++++++++--------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/src/iscs_new/core/form/elementConst.js b/src/iscs_new/core/form/elementConst.js index 12ef60a1e..cdc60520c 100644 --- a/src/iscs_new/core/form/elementConst.js +++ b/src/iscs_new/core/form/elementConst.js @@ -5,7 +5,8 @@ const elementType = Object.fromEntries(Object.keys(graphic).map(type => [type, t export const elementConst = { [elementType.Line]: { - code: elementType.Line, name:'线段', + code: elementType.Line, + name:'线段', formList: { style: [ @@ -16,7 +17,8 @@ export const elementConst = { } }, [elementType.Text]: { - code: elementType.Text, name:'文字', + code: elementType.Text, + name:'文字', formList: { style: [ @@ -27,7 +29,8 @@ export const elementConst = { } }, [elementType.Rect]: { - code: elementType.Rect, name:'矩形', + code: elementType.Rect, + name:'矩形', formList: { style: [ @@ -38,7 +41,8 @@ export const elementConst = { } }, [elementType.Circle]: { - code: elementType.Circle, name:'圆形', + code: elementType.Circle, + name:'圆形', formList:{ style: [ @@ -49,7 +53,8 @@ export const elementConst = { } }, [elementType.Polygon]: { - code: elementType.Polygon, name:'多边形', + code: elementType.Polygon, + name:'多边形', formList: { style: [ @@ -60,7 +65,8 @@ export const elementConst = { } }, [elementType.Arrow]: { - code: elementType.Arrow, name:'箭头', + code: elementType.Arrow, + name:'箭头', formList: { style: [ @@ -71,7 +77,8 @@ export const elementConst = { } }, [elementType.Polyline]: { - code: elementType.Polyline, name:'多边形折线段', + code: elementType.Polyline, + name:'多边形折线段', formList: { style: [ @@ -82,7 +89,8 @@ export const elementConst = { } }, [elementType.Isogon]: { - code: elementType.Isogon, name:'正多边形', + code: elementType.Isogon, + name:'正多边形', formList: { style: [ @@ -93,7 +101,8 @@ export const elementConst = { } }, [elementType.Ellipse]: { - code: elementType.Ellipse, name:'椭圆', + code: elementType.Ellipse, + name:'椭圆', formList: { style: [ @@ -104,7 +113,8 @@ export const elementConst = { } }, [elementType.Arc]: { - code: elementType.Arc, name:'圆弧', + code: elementType.Arc, + name:'圆弧', formList: { style: [ @@ -115,7 +125,8 @@ export const elementConst = { } }, [elementType.Sector]: { - code: elementType.Sector, name:'扇形', + code: elementType.Sector, + name:'扇形', formList: { style: [ @@ -126,7 +137,8 @@ export const elementConst = { } }, [elementType.Heart]: { - code: elementType.Heart, name:'心形', + code: elementType.Heart, + name:'心形', formList: { style: [ @@ -137,7 +149,8 @@ export const elementConst = { } }, [elementType.Droplet]: { - code: elementType.Droplet, name:'水滴', + code: elementType.Droplet, + name:'水滴', formList: { style: [