fix(table): action display

This commit is contained in:
roymondchen 2022-09-28 15:52:10 +08:00 committed by jia000
parent 040d679b7f
commit 6a65ab812b

View File

@ -70,7 +70,7 @@ const emit = defineEmits(['afterAction']);
const display = (fuc: boolean | Function | undefined, row: any) => {
if (typeof fuc === 'function') {
return fuc.call(this, this, row);
return fuc(row);
}
return true;
};