mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-16 09:05:33 +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) => {
|
const display = (fuc: boolean | Function | undefined, row: any) => {
|
||||||
if (typeof fuc === 'function') {
|
if (typeof fuc === 'function') {
|
||||||
return fuc.call(this, this, row);
|
return fuc(row);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user