vxe-table 3.10.12 → 3.10.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-table",
3
- "version": "3.10.12",
3
+ "version": "3.10.13",
4
4
  "description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、列拖拽,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -1262,6 +1262,23 @@ const Methods = {
1262
1262
  }
1263
1263
  return this.createData(records).then((rows: any) => isArr ? rows : rows[0])
1264
1264
  },
1265
+ // toOriginalRecords (rows: any[]) {
1266
+ // const { treeConfig } = props
1267
+ // const treeOpts = computeTreeOpts.value
1268
+ // const { transform, mapChildrenField } = treeOpts
1269
+ // const rowkey = getRowkey($xeTable)
1270
+ // if (treeConfig) {
1271
+ // if (transform) {
1272
+ // return []
1273
+ // }
1274
+ // return []
1275
+ // }
1276
+ // return rows.map(item => {
1277
+ // const obj = Object.assign({}, item)
1278
+ // delete obj.rowkey
1279
+ // return obj
1280
+ // })
1281
+ // },
1265
1282
  /**
1266
1283
  * 还原数据
1267
1284
  * 如果不传任何参数,则还原整个表格