From 73d21dbca958ccc689b02c918c20bf8d1c91cd83 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 8 Apr 2021 15:27:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/iscs_new/core/form/form2ShapeStyle.js | 2 +- src/iscs_new/core/form/form2TextStyle.js | 26 ++++++----------------- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/src/iscs_new/core/form/form2ShapeStyle.js b/src/iscs_new/core/form/form2ShapeStyle.js index 7d9df8eed..88fdd1907 100644 --- a/src/iscs_new/core/form/form2ShapeStyle.js +++ b/src/iscs_new/core/form/form2ShapeStyle.js @@ -33,7 +33,7 @@ export default [ prop: 'stroke', label: '描边样式', type: types.Color, - value: 'rgba(0,0,0,0)', + value: '#000', description: '描边样式。' }, { diff --git a/src/iscs_new/core/form/form2TextStyle.js b/src/iscs_new/core/form/form2TextStyle.js index cbb57fbc5..568f5f8c7 100644 --- a/src/iscs_new/core/form/form2TextStyle.js +++ b/src/iscs_new/core/form/form2TextStyle.js @@ -91,18 +91,18 @@ export default [ description: '文字描边样式。' }, { - prop: 'lineWidth', - label: '线宽', + prop: 'textLineWidth', + label: '文字描边宽度', type: types.Number, min: 0, max: 100, step: 1, - precision: 0, + precisionFlag: 0, rules:[ - { required: true, message:'请输入线宽', trigger: 'blur' } + { required: true, message:'请输入文字描边宽度', trigger: 'blur' } ], - value: 1, - description: '线宽' + value: 2, + description: '文字描边宽度。' }, // { // prop: 'textWidth', @@ -133,20 +133,6 @@ export default [ // description: '文字高度,仅用于设置背景色时需要设置。' // }, // { - // prop: 'textLineWidth', - // label: '文字描边宽度', - // type: types.Number, - // min: 0, - // max: 10000, - // step: 1, - // precisionFlag: 0, - // rules:[ - // { required: true, message:'请输入文字描边宽度', trigger: 'blur' } - // ], - // value: 0, - // description: '文字描边宽度。' - // }, - // { // prop: 'textLineHeight', // label: '文字行高', // type: types.Number,