feat: 支持控制出库时间轴显示
This commit is contained in:
@@ -499,6 +499,8 @@ function resetOutboundImages(value: any) {
|
||||
const timelineItems = computed<any[]>(() => {
|
||||
const source = Array.isArray(data.value?.timeline) ? data.value.timeline : [];
|
||||
const regularNodes = source.filter((node: any) => node?.system !== 'OUTBOUND_RECORD');
|
||||
if (data.value?.artwork?.showOutboundTimeline !== true) return regularNodes;
|
||||
|
||||
const legacyOutbound = source.find((node: any) => node?.system === 'OUTBOUND_RECORD');
|
||||
const outbound = data.value?.outbound;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user