代码调整

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', prop: 'stroke',
label: '描边样式', label: '描边样式',
type: types.Color, type: types.Color,
value: 'rgba(0,0,0,0)', value: '#000',
description: '描边样式。' description: '描边样式。'
}, },
{ {

View File

@ -91,18 +91,18 @@ export default [
description: '文字描边样式。' description: '文字描边样式。'
}, },
{ {
prop: 'lineWidth', prop: 'textLineWidth',
label: '线宽', label: '文字描边宽度',
type: types.Number, type: types.Number,
min: 0, min: 0,
max: 100, max: 100,
step: 1, step: 1,
precision: 0, precisionFlag: 0,
rules:[ rules:[
{ required: true, message:'请输入线宽', trigger: 'blur' } { required: true, message:'请输入文字描边宽度', trigger: 'blur' }
], ],
value: 1, value: 2,
description: '线宽' description: '文字描边宽度。'
}, },
// { // {
// prop: 'textWidth', // prop: 'textWidth',
@ -133,20 +133,6 @@ export default [
// description: '文字高度,仅用于设置背景色时需要设置。' // 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', // prop: 'textLineHeight',
// label: '文字行高', // label: '文字行高',
// type: types.Number, // type: types.Number,