fix: 当TableAction的actions属性中的ActionItem传递了color属性时,PopConfirm的指示箭头颜色异常问题 (#3597)

Co-authored-by: linja <linja@film.com>
This commit is contained in:
Tian_ya_luer 2024-02-11 14:30:12 +08:00 committed by GitHub
parent 6f4bdae5c2
commit e6a73840ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@
if (!props.enable) { if (!props.enable) {
return Button; return Button;
} }
if (bindValues.color) {
delete bindValues.color;
}
return h(Popconfirm, bindValues, { default: () => Button }); return h(Popconfirm, bindValues, { default: () => Button });
}; };
}, },