代码调整

This commit is contained in:
joylink_cuiweidong 2021-04-08 11:20:51 +08:00
parent c9b5c908a0
commit 89f7d38a77

View File

@ -41,7 +41,8 @@ export default [
{
prop: 'position',
label: '位置',
type: types.Point,
type: types.NumberArray,
length:2,
precision: 0,
min:0,
max:20000,
@ -49,13 +50,14 @@ export default [
rules:[
{ required: true, message:'请输入位置', trigger: 'blur' }
],
value: 0,
value: [0, 0],
description: '控制图形的位置。'
},
{
prop: 'scale',
label: '缩放',
type: types.Point,
type: types.NumberArray,
length:2,
precision: 0,
min:0.1,
max:1,
@ -63,7 +65,7 @@ export default [
rules:[
{ required: true, message:'请输入缩放', trigger: 'blur' }
],
value: 1,
value: [1, 1],
description: '控制图形的缩放。'
}
];