mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(table): action display
This commit is contained in:
parent
040d679b7f
commit
6a65ab812b
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user