修改代码

This commit is contained in:
ival 2021-04-08 09:07:12 +08:00
parent 9917926a43
commit 84d8a396f0

View File

@ -37,5 +37,33 @@ export default [
],
value: false,
description: '图形是否不可见,选中时不绘制图形。'
}
},
{
prop: 'position',
label: '位置',
type: types.Point,
precision: 0,
min:0,
max:20000,
step:1,
rules:[
{ required: true, message:'请输入位置', trigger: 'blur' }
],
value: 0,
description: '控制图形的位置。'
},
{
prop: 'scale',
label: '缩放',
type: types.Point,
precision: 0,
min:0.1,
max:1,
step:1,
rules:[
{ required: true, message:'请输入缩放', trigger: 'blur' }
],
value: 1,
description: '控制图形的缩放。'
}
];