优化bug
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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];
|
||||
|
||||
@@ -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