代码调整

This commit is contained in:
joylink_cuiweidong 2021-04-08 15:27:26 +08:00
parent bbba502ba7
commit 73d21dbca9
2 changed files with 7 additions and 21 deletions

View File

@ -33,7 +33,7 @@ export default [
prop: 'stroke',
label: '描边样式',
type: types.Color,
value: 'rgba(0,0,0,0)',
value: '#000',
description: '描边样式。'
},
{

View File

@ -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,