File tree 1 file changed +10
-6
lines changed
packages/amis-editor/src/renderer/event-control
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -375,17 +375,21 @@ export const COMMON_ACTION_SCHEMA_MAP: {
375
375
form . setValueByName ( '__valueInput' , undefined ) ;
376
376
}
377
377
} ,
378
- {
379
- type : 'input-number' ,
380
- required : true ,
378
+ getSchemaTpl ( 'formulaControl' , {
381
379
name : 'index' ,
382
- mode : 'horizontal' ,
383
380
label : '输入序号' ,
381
+ required : true ,
382
+ rendererSchema : {
383
+ type : 'input-number'
384
+ } ,
385
+ valueType : 'number' ,
386
+ variables : '${variables}' ,
384
387
size : 'lg' ,
388
+ mode : 'horizontal' ,
385
389
placeholder : '请输入待更新序号' ,
386
390
visibleOn : `(this.__rendererName === 'input-table' || this.__rendererName === 'combo')
387
- && this.__comboType === 'appoint'`
388
- } ,
391
+ && this.__comboType === 'appoint'`
392
+ } ) ,
389
393
{
390
394
type : 'combo' ,
391
395
name : 'value' ,
You can’t perform that action at this time.
0 commit comments