@steedos-widgets/sortable 1.3.22-beta.2 → 1.3.22-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54965,6 +54965,7 @@ async function getQuickEditSchema(field, options){
54965
54965
  {
54966
54966
  "actionType": "custom",
54967
54967
  "script": `
54968
+
54968
54969
  var _display = _.cloneDeep(event.data._display);
54969
54970
  ${displayField}
54970
54971
  doAction({actionType: 'setValue', "args": {"value": {_display}},componentId: "${quickEditId}"});
@@ -55351,7 +55352,9 @@ async function getTableColumns(fields, options){
55351
55352
  if(!options.isLookup && !options.isInputTable){
55352
55353
  //将_display放入crud的columns中,可以通过setvalue修改行内数据域的_display,而不影响上层items的_display,用于批量编辑
55353
55354
  columns.push({name: '_display',type: 'static', width: 32, placeholder: "",id: "_display_${_index}", className: "hidden"});
55354
- columns.push({name: '_index',type: 'text', width: 32, placeholder: ""});
55355
+ if(!options.enable_tree){
55356
+ columns.push({name: '_index',type: 'text', width: 32, placeholder: ""});
55357
+ }
55355
55358
  }
55356
55359
  const allowEdit = options.permissions?.allowEdit && !options.isLookup && options.enable_inline_edit != false;
55357
55360