|
|
|
@ -180,6 +180,7 @@ const renderRegularNodeHandles = (dataIns: any[], dataOuts: any[], apiIns: any[]
|
|
|
|
|
|
|
|
|
|
|
|
const formatFooter = (data: any) => {
|
|
|
|
const formatFooter = (data: any) => {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|
|
|
|
console.log('data:', data);
|
|
|
|
switch (data?.type) {
|
|
|
|
switch (data?.type) {
|
|
|
|
case 'WAIT':
|
|
|
|
case 'WAIT':
|
|
|
|
const { duration } = deserializeValue(data.customDef);
|
|
|
|
const { duration } = deserializeValue(data.customDef);
|
|
|
|
@ -195,6 +196,8 @@ const formatFooter = (data: any) => {
|
|
|
|
const { name, topic } = isJSON(data.customDef) ? JSON.parse(data.customDef) : data.customDef;
|
|
|
|
const { name, topic } = isJSON(data.customDef) ? JSON.parse(data.customDef) : data.customDef;
|
|
|
|
if (topic.includes('**empty**')) return '';
|
|
|
|
if (topic.includes('**empty**')) return '';
|
|
|
|
return `事件: ${name}`;
|
|
|
|
return `事件: ${name}`;
|
|
|
|
|
|
|
|
case 'BASIC':
|
|
|
|
|
|
|
|
return data.compIdentifier ? `当前实例:${data.compIdentifier}` : '';
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
return '';
|
|
|
|
return '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|