mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
fix(amis-editor): input-number步长配置功能优化,实时同步当前小数位数配置
This commit is contained in:
parent
0891ef0cd9
commit
f76e6b10a4
@ -208,15 +208,14 @@ export class NumberControlPlugin extends BasePlugin {
|
||||
label: '最大值',
|
||||
valueType: 'number'
|
||||
}),
|
||||
|
||||
{
|
||||
type: 'input-number',
|
||||
name: 'step',
|
||||
label: '步长',
|
||||
min: 0,
|
||||
value: 1
|
||||
value: 1,
|
||||
precision: '${precision}'
|
||||
},
|
||||
|
||||
{
|
||||
type: 'input-number',
|
||||
name: 'precision',
|
||||
|
Loading…
Reference in New Issue
Block a user