vxe-table 3.4.14-beta.1 → 3.4.14-beta.2

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.
@@ -294,11 +294,23 @@ const Methods = {
294
294
  })
295
295
  },
296
296
  /**
297
- * 手动处理数据
297
+ * 手动处理数据,用于手动排序与筛选
298
298
  * 对于手动更改了排序、筛选...等条件后需要重新处理数据时可能会用到
299
299
  */
300
300
  updateData () {
301
- return this.handleTableData(true).then(this.updateFooter).then(this.recalculate)
301
+ const { scrollXLoad, scrollYLoad } = this
302
+ return this.handleTableData(true).then(() => {
303
+ this.updateFooter()
304
+ if (scrollXLoad || scrollYLoad) {
305
+ if (scrollXLoad) {
306
+ this.updateScrollXSpace()
307
+ }
308
+ if (scrollYLoad) {
309
+ this.updateScrollYSpace()
310
+ }
311
+ return this.refreshScroll()
312
+ }
313
+ }).then(() => this.recalculate())
302
314
  },
303
315
  handleTableData (force) {
304
316
  const { scrollYLoad, scrollYStore, fullDataRowIdData, afterFullData } = this