|
|
@@ -620,7 +620,7 @@ function MyLPPageContent() {
|
|
|
const allPositions = lpList.filter(
|
|
|
(item) =>
|
|
|
item.bonusInfo?.fromCreatorPosition &&
|
|
|
- item.bonusInfo?.fromCreatorPositionStatus !== 0
|
|
|
+ !item.isParentPositionClosed
|
|
|
)
|
|
|
if (allPositions.length === 0) {
|
|
|
message.info('没有需要关闭的仓位')
|
|
|
@@ -758,7 +758,7 @@ function MyLPPageContent() {
|
|
|
onClick={() => handleCloseAllPositionWithoutParent()}
|
|
|
loading={loading}
|
|
|
>
|
|
|
- 一键关闭无上级仓位
|
|
|
+ 一键关闭上级已关仓
|
|
|
</Button>
|
|
|
{selectedRowKeys.length > 0 && (
|
|
|
<Button
|