Merge branch 'multi-header' of https://github.com/zouzhibin/zb-table
Conflicts: .idea/workspace.xml unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/zb-table/components/zb-table/zb-table.js.map
This commit is contained in:
@@ -886,7 +886,7 @@ var _util = __webpack_require__(/*! ./js/util */ 42);function _interopRequireDef
|
||||
},
|
||||
methods: {
|
||||
formatterAction: function formatterAction(row, column, rowIndex, columnIndex) {
|
||||
if (column.formatter) {
|
||||
if (column.formatter && typeof this.formatter === 'function') {
|
||||
return this.formatter(row, column, rowIndex, columnIndex);
|
||||
}
|
||||
return row[column.name] == null || row[column.name] === '' ? column.emptyString : row[column.name];
|
||||
|
||||
Reference in New Issue
Block a user