Commit 9b5d0fd 1 parent 85995de commit 9b5d0fd Copy full SHA for 9b5d0fd
File tree 1 file changed +13
-8
lines changed
packages/amis-editor/src/plugin
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -812,14 +812,19 @@ export class CRUDPlugin extends BasePlugin {
812
812
api : valueSchema . api ?. method ?. match ( / ^ ( p o s t | p u t ) $ / i)
813
813
? valueSchema . api
814
814
: { ...valueSchema . api , method : 'post' } ,
815
- body : valueSchema . columns . map ( ( column : ColumnItem ) => {
816
- const type = column . type ;
817
- return {
818
- type : viewTypeToEditType ( type ) ,
819
- name : column . name ,
820
- label : column . label
821
- } ;
822
- } )
815
+ body : valueSchema . columns
816
+ . filter (
817
+ ( { type} : any ) =>
818
+ type !== 'progress' && type !== 'operation'
819
+ )
820
+ . map ( ( column : ColumnItem ) => {
821
+ const type = column . type ;
822
+ return {
823
+ type : viewTypeToEditType ( type ) ,
824
+ name : column . name ,
825
+ label : column . label
826
+ } ;
827
+ } )
823
828
} ;
824
829
valueSchema . headerToolbar = [ createSchemaBase , 'bulkActions' ] ;
825
830
}
You can’t perform that action at this time.
0 commit comments