@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.
package/dist/assets.json CHANGED
@@ -3,8 +3,8 @@
3
3
  {
4
4
  "package": "@steedos-widgets/sortable",
5
5
  "urls": [
6
- "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/dist/sortable.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.9/dist/sortable.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.9/dist/sortable.umd.css"
8
8
  ],
9
9
  "library": "BuilderSortable"
10
10
  }
@@ -15,10 +15,10 @@
15
15
  "npm": {
16
16
  "package": "@steedos-widgets/sortable"
17
17
  },
18
- "url": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.9/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.8/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.9/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/sortable@1.3.4-beta.9/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
@@ -57401,10 +57401,13 @@ async function lookupToAmisPicker(field, readonly, ctx){
57401
57401
  const op = api.data.$self.op;
57402
57402
  if(!_.isEmpty(op)){
57403
57403
  // op不为空,表示处于字段初始编辑状态,不是点击后出现弹窗状态。
57404
+ // 这里不可以用_.pick函数让payload只返回labelField和valueField,因为字段上配置的amis autoFill功能可能依赖了其他字段
57405
+ /*
57404
57406
  const rows = _.map(payload.data.rows, (item)=>{
57405
57407
  return _.pick(item, ["${referenceTo.labelField.name}", "${referenceTo.valueField.name}"]);
57406
57408
  })
57407
57409
  payload.data.rows = rows;
57410
+ */
57408
57411
  return payload;
57409
57412
  }
57410
57413
  if(enable_tree){