mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
Merge pull request #1008 from Titans1001/patch-4
Update footerMethod 方法参数
This commit is contained in:
@@ -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()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user