fix: exclude owned works from competitor analysis
This commit is contained in:
@@ -111,7 +111,7 @@ interface CollectionProgress {
|
||||
}
|
||||
|
||||
interface WorksGalleryProps {
|
||||
/** 不传则不过滤来源(如竞品分析页跨全部竞品);监控/自有账号详情传具体账号 ID。 */
|
||||
/** 不传则不限定账号;仍按 sourceType 限定来源类型。监控/自有账号详情传具体账号 ID。 */
|
||||
sourceId?: string;
|
||||
sourceType?: 'owned' | 'competitor';
|
||||
emptyHint?: string;
|
||||
|
||||
@@ -69,7 +69,7 @@ export default function Page() {
|
||||
/>
|
||||
</Space>
|
||||
</Card>
|
||||
<WorksGallery emptyHint="暂无符合条件的作品。" extraFilters={extraFilters} />
|
||||
<WorksGallery sourceType="competitor" emptyHint="暂无符合条件的作品。" extraFilters={extraFilters} />
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user