Merge pull request #1008 from Titans1001/patch-4

Update footerMethod 方法参数
This commit is contained in:
xuliangzhan
2020-08-18 23:48:53 +08:00
committed by GitHub

View File

@@ -3428,7 +3428,7 @@ const Methods = {
updateFooter () {
const { showFooter, visibleColumn, footerMethod } = this
if (showFooter && footerMethod) {
this.footerData = visibleColumn.length ? footerMethod({ columns: visibleColumn, data: this.afterFullData }) : []
this.footerData = visibleColumn.length ? footerMethod({ columns: visibleColumn, data: this.afterFullData, $table: this, $grid: this.$xegrid }) : []
}
return this.$nextTick()
},