@steedos-widgets/sortable 1.3.4-beta.8 → 1.3.4-beta.9

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.
@@ -57397,10 +57397,13 @@ async function lookupToAmisPicker(field, readonly, ctx){
57397
57397
  const op = api.data.$self.op;
57398
57398
  if(!_.isEmpty(op)){
57399
57399
  // op不为空,表示处于字段初始编辑状态,不是点击后出现弹窗状态。
57400
+ // 这里不可以用_.pick函数让payload只返回labelField和valueField,因为字段上配置的amis autoFill功能可能依赖了其他字段
57401
+ /*
57400
57402
  const rows = _.map(payload.data.rows, (item)=>{
57401
57403
  return _.pick(item, ["${referenceTo.labelField.name}", "${referenceTo.valueField.name}"]);
57402
57404
  })
57403
57405
  payload.data.rows = rows;
57406
+ */
57404
57407
  return payload;
57405
57408
  }
57406
57409
  if(enable_tree){